From 9ebbb63225ffa7d0d6c8aa009212d2900296f855 Mon Sep 17 00:00:00 2001 From: Chris Johnston Date: Wed, 9 Jan 2019 11:38:19 -0800 Subject: [PATCH] Change nuget build suffix for PRs to start with "-pr" This is an attempt to fix the build, since this step of the build is failing in PRs. --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index ef5f1667e..51204eaeb 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="-$Env:BUILD" + nuget pack src/Discord.Net/Discord.Net.nuspec -OutputDirectory "artifacts" -properties suffix="-pr$Env:BUILD" } } - ps: if ($isWindows) { Get-ChildItem artifacts/*.nupkg | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name } }