Skip to content

Commit

Permalink
Fix package versioning for tagged releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Lycken committed Oct 2, 2017
1 parent 99a35d2 commit 26ec129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ install:
if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }
$buildVersion = "$($gitVersion.FullSemVer).build.$buildNumber"
$packageVersion = "$($gitVersion.NuGetVersion).$buildNumber"
$packageVersion = if (($gitVersion.FullSemVer -like '*-*')) { "$($gitVersion.NuGetVersion).$buildNumber" } else { $gitVersion.FullSemVer }
Write-Host "Build number: $buildNumber"
Write-Host "Git version: $($gitVersion.InformationalVersion)"
Expand Down

0 comments on commit 26ec129

Please sign in to comment.