Skip to content

Commit

Permalink
New prerelease numbering
Browse files Browse the repository at this point in the history
  • Loading branch information
nyanhp committed Oct 31, 2022
1 parent d4d8d70 commit 9721ca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/vsts-build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ if ($AutoVersion)
{
$null = $prerelease -match '\d+'
$number = [int]$Matches.0 + 1
$parameter['Prerelease'] = $prerelease -replace '\d', $number
$parameter['Prerelease'] = ($prerelease -replace '\d', '{0:d3}') -f $number
}
else
{
Expand Down

0 comments on commit 9721ca7

Please sign in to comment.