Browse Source

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.
pull/1235/head
Chris Johnston 6 years ago
parent
commit
9ebbb63225
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      appveyor.yml

+ 1
- 1
appveyor.yml View File

@@ -64,7 +64,7 @@ after_build:
if ($Env:APPVEYOR_REPO_TAG -eq "true") { if ($Env:APPVEYOR_REPO_TAG -eq "true") {
nuget pack src/Discord.Net/Discord.Net.nuspec -OutputDirectory "artifacts" -properties suffix="" nuget pack src/Discord.Net/Discord.Net.nuspec -OutputDirectory "artifacts" -properties suffix=""
} else { } 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 } } - ps: if ($isWindows) { Get-ChildItem artifacts/*.nupkg | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name } }


Loading…
Cancel
Save