Skip to content

Commit

Permalink
Adjusting the release version to follow semver and our nuget package
Browse files Browse the repository at this point in the history
versioning scheme
  • Loading branch information
andreasohlund committed Mar 8, 2012
1 parent a65d5f3 commit 0116ed8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions default.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -734,14 +734,13 @@ task GenerateAssemblyInfo {
$script:packageVersion = $infoVersion
}


$script:releaseVersion = $infoVersion

#Temporarily removed the PreRelease prefix ('-build') from the package version for CI packages to maintain compatibility with the existing versioning scheme
#We will remove this as soon as we until we consolidate the CI and regular packages
if($PackageNameSuffix -eq "-CI") {
$script:packageVersion = $ProductVersion + "." + $BuildNumber
}

$script:releaseVersion = $script:packageVersion

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

Expand Down

0 comments on commit 0116ed8

Please sign in to comment.