Skip to content
This repository was archived by the owner on Nov 1, 2020. It is now read-only.

Commit 1b91de7

Browse files
author
Jérémie Bertrand
committed
Use nuget pack instead of choco pack
1 parent 7ba3f65 commit 1b91de7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

appveyor.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ after_build:
3434
- ilrepack /internalize /parallel /wildcards /out:SemanticReleaseNotesParser.exe SemanticReleaseNotesParser/bin/Release/SemanticReleaseNotesParser.exe SemanticReleaseNotesParser/bin/Release/*.dll
3535
- SemanticReleaseNotesParser.exe -g Categories
3636
# build chocolatey package
37-
- ps: (gc PackagingAssets\chocolatey\tools\chocolateyInstall.ps1).replace('{{version}}',$version).replace('{{tag}}',$tag)|sc PackagingAssets\chocolatey\tools\chocolateyInstall.ps1
38-
- choco pack PackagingAssets\chocolatey\SemanticReleaseNotesParser.nuspec -Version=$env:GitVersion_NuGetVersion
37+
- ps: (gc PackagingAssets\chocolatey\tools\chocolateyInstall.ps1).replace('{{version}}', $env:GitVersion_NuGetVersion).replace('{{tag}}',$env:appveyor_repo_tag_name)|sc PackagingAssets\chocolatey\tools\chocolateyInstall.ps1
38+
- nuget pack PackagingAssets\chocolatey\SemanticReleaseNotesParser.nuspec -Version $(GitVersion_NuGetVersion) -NoPackageAnalysis -NonInteractive
3939
# build nuget package -> made in SemanticReleaseNotesParser.Core.csproj
4040
# zip for github package
41-
- 7z a SemanticReleaseNotesParser.$version.zip $env:appveyor_build_folder\SemanticReleaseNotesParser.exe
42-
- 7z a SemanticReleaseNotesParser.$version.zip ReleaseNotes.html
41+
- 7z a SemanticReleaseNotesParser.$(GitVersion_NuGetVersion).zip $(appveyor_build_folder)\SemanticReleaseNotesParser.exe
42+
- 7z a SemanticReleaseNotesParser.$(env:GitVersion_NuGetVersion).zip ReleaseNotes.html
4343

4444
test_script:
4545
- OpenCover.Console.exe -register:user -filter:"+[SemanticReleaseNotesParser.Core]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -target:"xunit.console.clr4.exe" -targetargs:"""SemanticReleaseNotesParser.Core.Tests\bin\Release\SemanticReleaseNotesParser.Core.Tests.dll"" /noshadow /appveyor" -output:coverage.xml -returntargetcode

0 commit comments

Comments
 (0)