Skip to content

Commit

Permalink
ci: fix powershell issue
Browse files Browse the repository at this point in the history
  • Loading branch information
CalvinWilkinson committed Jan 1, 2024
1 parent 64ae3a9 commit bd168b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
if (($releaseVersion -match $versionRegex)) {
Write-Host "::notice::The 'release-version' workflow input is valid.";
} else {
$versionSyntax = $releaseType == "production" ? "v#.#.#" : "v#.#.#-preview.#";
$versionSyntax = $releaseType -eq "production" ? "v#.#.#" : "v#.#.#-preview.#";
Write-Host "::error::The 'release-version' workflow input is not valid. Expected format: '$versionSyntax";
exit 1;
}
Expand Down

0 comments on commit bd168b6

Please sign in to comment.