Skip to content

Commit 1111251

Browse files
committed
Coverity & NuGet Tweaks
1 parent 420766e commit 1111251

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

Build/ICSharpCode.SharpZipLib.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package>
33
<metadata minClientVersion="2.0">
44
<id>ICSharpCode.SharpZipLib-dogfood</id>
5-
<version>1.0-dogfood</version>
5+
<!-- version --><!-- passed in with -Version %APPVEYOR_BUILD_VERSION% -->
66
<title>SharpZipLib-dogfood</title>
77
<authors>IC#Code</authors>
88
<owners>IC#Code</owners>

Build/run-appveyor-build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$publishCoverityExe = ".\packages\PublishCoverity.0.11.0\tools\PublishCoverity.exe";
1+
$publishCoverityExe = $env:APPVEYOR_BUILD_FOLDER + "\packages\PublishCoverity.0.11.0\tools\PublishCoverity.exe";
22
# Define build command.
33
$buildCmd = "C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe";
44
$buildArgs = @(

appveyor.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ before_test:
163163
after_test:
164164
- cmd: Build\run-opencover.cmd
165165
- cmd: packages\coveralls.io.1.3.4\tools\coveralls.net.exe --opencover Documentation\opencover-results-release.xml
166-
- cmd: nuget pack Build\ICSharpCode.SharpZipLib.nuspec -BasePath bin\Release\ -OutputDirectory bin\Release\
166+
- cmd: nuget pack Build\ICSharpCode.SharpZipLib.nuspec -BasePath bin\Release\ -OutputDirectory bin\Release\ -Version $(appveyor_build_version)
167167

168168
# to run your custom scripts instead of automatic tests
169169
test_script:
@@ -205,9 +205,10 @@ deploy:
205205
branch: master # release from master branch only
206206
appveyor_repo_tag: true # deploy on tag push only
207207
- provider: NuGet
208+
skip_symbols: false
209+
symbol_server: https://ci.appveyor.com/nuget/mcneight-93sw9hg8ve02/api/v2/package
208210
api_key:
209211
secure: z+iy8Iv5qqQghGrATRbx2I921HCHD7x7/xIrmkGGauMgpA/d1DBoOVUNNCHLE9Dj
210-
skip_symbols: false
211212
artifact: NuGet
212213

213214
#---------------------------------#

0 commit comments

Comments
 (0)