diff --git a/SMLogging-net35/Properties/AssemblyInfo.cs b/SMLogging-net35/Properties/AssemblyInfo.cs index e222858..d9f7e0a 100644 --- a/SMLogging-net35/Properties/AssemblyInfo.cs +++ b/SMLogging-net35/Properties/AssemblyInfo.cs @@ -13,6 +13,6 @@ [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] [assembly: Guid("151c949d-8353-406c-b331-7c9fc06ef08f")] -[assembly: AssemblyVersion("1.2.4.0")] -[assembly: AssemblyFileVersion("1.2.4.0")] +[assembly: AssemblyVersion("1.2.5.0")] +[assembly: AssemblyFileVersion("1.2.5.0")] [assembly: CLSCompliant(true)] diff --git a/SMLogging.Lab.Client/Properties/AssemblyInfo.cs b/SMLogging.Lab.Client/Properties/AssemblyInfo.cs index 3555930..a25641e 100644 --- a/SMLogging.Lab.Client/Properties/AssemblyInfo.cs +++ b/SMLogging.Lab.Client/Properties/AssemblyInfo.cs @@ -31,6 +31,6 @@ // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: -// [assembly: AssemblyVersion("1.2.3.0")] -[assembly: AssemblyVersion("1.2.3.0")] -[assembly: AssemblyFileVersion("1.2.3.0")] +// [assembly: AssemblyVersion("1.2.5.0")] +[assembly: AssemblyVersion("1.2.5.0")] +[assembly: AssemblyFileVersion("1.2.5.0")] diff --git a/SMLogging.Lab/Properties/AssemblyInfo.cs b/SMLogging.Lab/Properties/AssemblyInfo.cs index 059c0cd..ec67460 100644 --- a/SMLogging.Lab/Properties/AssemblyInfo.cs +++ b/SMLogging.Lab/Properties/AssemblyInfo.cs @@ -31,6 +31,6 @@ // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -// [assembly: AssemblyVersion("1.2.3.0")] -[assembly: AssemblyVersion("1.2.3.0")] -[assembly: AssemblyFileVersion("1.2.3.0")] +// [assembly: AssemblyVersion("1.2.5.0")] +[assembly: AssemblyVersion("1.2.5.0")] +[assembly: AssemblyFileVersion("1.2.5.0")] diff --git a/SMLogging.Setup.CustomActions/Properties/AssemblyInfo.cs b/SMLogging.Setup.CustomActions/Properties/AssemblyInfo.cs index 306067f..2f9387c 100644 --- a/SMLogging.Setup.CustomActions/Properties/AssemblyInfo.cs +++ b/SMLogging.Setup.CustomActions/Properties/AssemblyInfo.cs @@ -10,5 +10,5 @@ [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] [assembly: Guid("9ab080ba-8c47-4db9-ad1b-6404ac9e5c2c")] -[assembly: AssemblyVersion("1.2.3.0")] -[assembly: AssemblyFileVersion("1.2.3.0")] +[assembly: AssemblyVersion("1.2.5.0")] +[assembly: AssemblyFileVersion("1.2.5.0")] diff --git a/SMLogging/Properties/AssemblyInfo.cs b/SMLogging/Properties/AssemblyInfo.cs index 7eb270f..225afae 100644 --- a/SMLogging/Properties/AssemblyInfo.cs +++ b/SMLogging/Properties/AssemblyInfo.cs @@ -12,6 +12,6 @@ [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] [assembly: Guid("7a39f680-a620-4b15-af44-56cf6e880a7f")] -[assembly: AssemblyVersion("1.2.3.0")] -[assembly: AssemblyFileVersion("1.2.3.0")] +[assembly: AssemblyVersion("1.2.5.0")] +[assembly: AssemblyFileVersion("1.2.5.0")] [assembly: CLSCompliant(true)] diff --git a/appveyor.yml b/appveyor.yml index e69de29..0518641 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -0,0 +1,64 @@ +version: '{build}' +configuration: Release +assembly_info: + patch: true + file: '**\AssemblyInfo.*' + assembly_version: $(VERSION_PREFIX).0 + assembly_file_version: $(VERSION_PREFIX).{build} + assembly_informational_version: $(VERSION_PREFIX).{build} +environment: + SIGNING_KEY_PASSWORD: + secure: q/2tcRmM2IULkFnXQ1DUIA== + SN_PATH: C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\sn.exe + VERSION_PREFIX: 1.2.5 +before_build: +- ps: >- + nuget restore + + + $pfxPath = Resolve-Path .\SigningKey.pfx + + $pfxData = [System.IO.File]::ReadAllBytes($pfxPath) + + $cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 -ArgumentList @($pfxData, $env:SIGNING_KEY_PASSWORD, [System.Security.Cryptography.X509Certificates.X509KeyStorageFlags]::Exportable) + + [System.Security.Cryptography.RSACryptoServiceProvider]$privateKey = $cert.PrivateKey; + + $snkData = $privateKey.ExportCspBlob($true) + + $snkPath = Resolve-Path . + + $snkPath = Join-Path $snkPath "\SigningKey.snk" + + [System.IO.File]::WriteAllBytes($snkPath, $snkData) +build: + verbosity: minimal +after_build: +- ps: >- + nuget pack NuGet.nuspec -NoPackageAnalysis + + $rnp = Resolve-Path(".\RELEASENOTES.md") + + $rnc = [IO.File]::ReadAllText($rnp) + + Set-AppveyorBuildVariable -Name RELEASE_NOTES -Value $rnc +artifacts: +- path: SMLogging.Setup\bin\Release\SMLogging.msi + name: GitHub +- path: SMLogging.*.nupkg + name: NuGet +deploy: +- provider: GitHub + description: $(RELEASE_NOTES) + auth_token: + secure: 5oed8ST5+Mo9PGm7cT4L9JEhfE5SGnaOXSbNSgtj7fJn98RbuOOPLvFJnTbAeIT2 + artifact: GitHub + on: + appveyor_repo_tag: true +- provider: NuGet + api_key: + secure: l5pokJf/CEzqI6kb+nvdmvHw982ZLEHTxVZQpvZqyE6VEchEiR5XQkDjely3++ke + skip_symbols: true + artifact: NuGet + on: + appveyor_repo_tag: true \ No newline at end of file