Skip to content

Commit

Permalink
Check for 'v' in version number will now correctly error out the publ…
Browse files Browse the repository at this point in the history
…ish script.
  • Loading branch information
tpill90 committed Dec 20, 2024
1 parent 60d2cfa commit ce76489
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _publish-release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ $newVersion = Read-Host "Enter new version, with no leading 'v'. Ex. '1.2.3'"
if($newVersion.Contains("v"))
{
Write-Color $newVersion, " is not a valid version since it has a leading 'v'." -Color Yellow, Red
return
}

# Updating csproj version
Expand Down

0 comments on commit ce76489

Please sign in to comment.