Permalink
Browse files

fix for when doing a full release. also changed the format of the sem…

…antic version of a pre-release to allow for multiple alphas, betas, rcs, etc...
  • Loading branch information...
1 parent 666eb60 commit 80edefe9aa96ca221f6e63b62384602e1a2180be @craiggwilson craiggwilson committed Dec 4, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 build.ps1
View
@@ -5,7 +5,10 @@ Properties {
$git_commit = Get-GitCommit
$version = "$base_version.$build_number"
- $sem_version = "$base_version-$($version_status)$build_number"
+ $sem_version = $base_version
+ if(-not [string]::IsNullOrEmpty($version_status)) {
+ $sem_version = "$base_version-$($version_status)-$build_number"
+ }
$release_notes_version = Get-ShortenedVersion $base_version
$config = 'Release'
$installer_product_id = [System.Guid]::Parse($git_commit.Hash.SubString(0,32))

0 comments on commit 80edefe

Please sign in to comment.