Skip to content

Commit 117c7cb

Browse files
committed
Added the ability to specify a version suffix
1 parent 3e2e56a commit 117c7cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Libraries/Package.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ ForEach ($p in $client_projects) {
9292
$packageDir = "$deploy_dir\packages"
9393
Create-Directory $packageDir
9494

95-
nuget pack $nuspecFile -OutputDirectory $packageDir -Version "$env:APPVEYOR_BUILD_VERSION" -Symbols
95+
$nuget_version = $env:APPVEYOR_BUILD_VERSION + $env:VERSION_SUFFIX
96+
nuget pack $nuspecFile -OutputDirectory $packageDir -Version $nuget_version -Symbols
9697
}
9798

9899
Get-ChildItem $packageDir\*.nupkg | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }

0 commit comments

Comments
 (0)