Browse Source

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
pull/1235/head
Chris Johnston 6 years ago
parent
commit
c5526f030f
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") {
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 } }


Loading…
Cancel
Save