Skip to content

Commit 0116ed8

Browse files
committed
Adjusting the release version to follow semver and our nuget package
versioning scheme
1 parent a65d5f3 commit 0116ed8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

default.ps1

+2-3
Original file line numberDiff line numberDiff line change
@@ -734,14 +734,13 @@ task GenerateAssemblyInfo {
734734
$script:packageVersion = $infoVersion
735735
}
736736

737-
738-
$script:releaseVersion = $infoVersion
739-
740737
#Temporarily removed the PreRelease prefix ('-build') from the package version for CI packages to maintain compatibility with the existing versioning scheme
741738
#We will remove this as soon as we until we consolidate the CI and regular packages
742739
if($PackageNameSuffix -eq "-CI") {
743740
$script:packageVersion = $ProductVersion + "." + $BuildNumber
744741
}
742+
743+
$script:releaseVersion = $script:packageVersion
745744

746745
Write-Output "##teamcity[buildNumber '$script:releaseVersion']"
747746

0 commit comments

Comments
 (0)