From c5526f030f6e1a44b8cb8dd85308a4f180c1f184 Mon Sep 17 00:00:00 2001 From: Chris Johnston Date: Wed, 9 Jan 2019 11:57:01 -0800 Subject: [PATCH] Change nuget package suffix to be "-build-" to mimic format used by dotnet pack We use dotnet pack with the build number parameter, but nuget pack doesn't have this. This changes the suffix to mimic the version number so that the names look similar --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 622cad454..c3def134a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -64,7 +64,7 @@ after_build: if ($Env:APPVEYOR_REPO_TAG -eq "true") { nuget pack src/Discord.Net/Discord.Net.nuspec -OutputDirectory "artifacts" -properties suffix="" } else { - nuget pack src/Discord.Net/Discord.Net.nuspec -OutputDirectory "artifacts" -properties suffix="-build$Env:BUILD" + nuget pack src/Discord.Net/Discord.Net.nuspec -OutputDirectory "artifacts" -properties suffix="-build-$Env:BUILD" } } - ps: if ($isWindows) { Get-ChildItem artifacts/*.nupkg | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name } }