Skip to content

Commit cc567c1

Browse files
author
juanonsoftware
committed
Merge branch 'master' into feature/f2
2 parents c48d1af + fbacc7a commit cc567c1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Scripts/VersionManager.ps1

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,16 @@ function New-Tag
1414

1515
if ($Branch -eq "release")
1616
{
17-
$version = ([decimal]$currentVersion + 0.1).ToString()
17+
$version = ([decimal]$version + 0.1).ToString()
1818
$prefix = "Beta-"
1919
}
2020
if ($Branch -eq "develop")
2121
{
22-
$version = ([decimal]$currentVersion + 0.1).ToString()
22+
$version = ([decimal]$version + 0.1).ToString()
2323
$prefix = "Dev-"
2424
}
2525
if ($Branch -eq "hotfix")
2626
{
27-
$version = ([decimal]$currentVersion + 0.1).ToString()
2827
$prefix = "HF-"
2928
}
3029

0 commit comments

Comments
 (0)