diff --git a/appveyor.yml b/appveyor.yml index e63d2471b..4dc07adac 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -58,18 +58,22 @@ test: off artifacts: - path: main/bin/installer/*.msi name: Installer +- path: main/bin/installer/*.txt + name: InstallerHash - path: main/bin/zip/*.zip name: ZipArchive +- path: main/bin/zip/*.txt + name: ZipArchiveHash - path: main/bin/packages/nuget/opencover/*.nupkg name: Nuget - path: main/bin/packages/nuget/opencover-rc/*.nupkg name: NugetCandidate - path: main/bin/packages/chocolatey/opencover/*.nupkg name: Chocolatey -- path: main/bin/packages/chocolatey/opencover.portable/*.nupkg - name: ChocolateyPortable - path: main/bin/packages/chocolatey/opencover.install/*.nupkg name: ChocolateyInstall +- path: main/bin/packages/chocolatey/opencover.portable/*.nupkg + name: ChocolateyPortable - path: cov-int/build-log.txt name: Coverity - path: GenericCoverage.xml @@ -108,6 +112,14 @@ deploy: artifact: ChocolateyPortable on: branch: release +- provider: NuGet + server: https://chocolatey.org/ + api_key: + secure: BbmHnhpI/e+m2xmR/5jxmOqKbQdcYG8RuF7iWT86SbCLIxPhMotbHprgBtw8dA4n + skip_symbols: true + artifact: ChocolateyInstall + on: + branch: release - provider: NuGet api_key: secure: pIYB18F1Lfq/UWtYjWH1CaKuuLc2dLHxeRwH5xO3BZsv4pMce5ETtqglUWa96TWp @@ -120,7 +132,7 @@ deploy: release: OpenCover (Release Candidiate) $(appveyor_build_version) auth_token: secure: T8hG3PcjoJoYaCr7ND6wFfzJdje9TYqbvBl9pFmh3EmI6relJrXzAGAooe9lBYjt - artifact: Installer, ZipArchive + artifact: Installer, ZipArchive, InstallerHash, ZipArchiveHash prerelease: true on: branch: rc @@ -129,7 +141,7 @@ deploy: release: OpenCover (Release) $(appveyor_build_version) auth_token: secure: T8hG3PcjoJoYaCr7ND6wFfzJdje9TYqbvBl9pFmh3EmI6relJrXzAGAooe9lBYjt - artifact: Installer, ZipArchive + artifact: Installer, ZipArchive, InstallerHash, ZipArchiveHash on: branch: release - provider: NuGet @@ -139,12 +151,6 @@ deploy: artifact: NugetCandidate on: branch: master -notifications: -- provider: Webhook - url: https://webhooks.gitter.im/e/700bdb95a55f23095db9 - on_build_success: true - on_build_failure: true - on_build_status_changed: true on_success: - ps: >- if ($env:APPVEYOR_SCHEDULED_BUILD -ne "True" -and $env:APPVEYOR_REPO_BRANCH -ne "coverity") diff --git a/build/nuget_package.build b/build/nuget_package.build index 20893cffa..00e60b800 100644 --- a/build/nuget_package.build +++ b/build/nuget_package.build @@ -12,7 +12,15 @@ - + + + + + @@ -76,23 +84,12 @@ - - - - - - - - - - - - - + + + + + @@ -102,48 +99,58 @@ - + - + - - - - + + + + - + + - + file="${checksum.installer.output.file}" + property="checksum.installer" /> + + + + + + + + + + + - + - - + + - + - + + commandline="pack ${solution.folder}\OpenCover.Packages\chocolatey\opencover.install\openCover.install.nuspec --Version=${buildnumber.major}.${buildnumber.minor}.${buildnumber.build}" /> - + @@ -151,13 +158,37 @@ - + + + + + + + + + + + + + + + + + + + + + + - - + + - + @@ -168,10 +199,10 @@ + commandline="pack ${solution.folder}\OpenCover.Packages\chocolatey\opencover.portable\OpenCover.portable.nuspec --Version=${buildnumber.major}.${buildnumber.minor}.${buildnumber.build}" /> - - + + diff --git a/main/.nuget/NuGet.exe b/main/.nuget/NuGet.exe index 7d8aeb303..5943f680c 100644 Binary files a/main/.nuget/NuGet.exe and b/main/.nuget/NuGet.exe differ diff --git a/main/Opencover.Packages/chocolatey/opencover.install/opencover.install.nuspec b/main/Opencover.Packages/chocolatey/opencover.install/opencover.install.nuspec index 30472ade3..1eb9a17b0 100644 --- a/main/Opencover.Packages/chocolatey/opencover.install/opencover.install.nuspec +++ b/main/Opencover.Packages/chocolatey/opencover.install/opencover.install.nuspec @@ -3,7 +3,7 @@ openCover.install 1.0.0.0 - OpenCover - an open source code coverage tool for .NET + OpenCover (Installer) - an open source code coverage tool for .NET OpenCover, shaun wilde shaun wilde https://github.com/OpenCover/opencover/blob/master/LICENSE