diff --git a/_publish-release.ps1 b/_publish-release.ps1 index 8313e1f..54fdf38 100644 --- a/_publish-release.ps1 +++ b/_publish-release.ps1 @@ -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