Skip to content

Commit

Permalink
fixed handling of build numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
ffeldhaus committed Nov 7, 2015
1 parent 75a47f6 commit 4ce92f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ param(

$ErrorActionPreference = "Stop"

$CurrentVersion = git branch | ? { $_ -notmatch "\*" } | Select -last 1
$CurrentVersion = git tag | ? { $_ -notmatch "\*" } | Select -last 1

if (!$CurrentVersion) { $CurrentVersion = "0.1.0" }

Expand Down

0 comments on commit 4ce92f2

Please sign in to comment.