Skip to content

Commit

Permalink
chore: fix alpha version guard
Browse files Browse the repository at this point in the history
  • Loading branch information
dariakp committed Aug 24, 2023
1 parent ea2d60a commit ecb2e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- shell: bash
run: |
ALPHA_SEMVER_REGEXP="-alpha(\.(0|[1-9][0-9]+))?$"
ALPHA_SEMVER_REGEXP="-alpha(\.([0-9]|[1-9][0-9]+))?$"
if ! [[ "${{ inputs.alphaVersion }}" =~ $ALPHA_SEMVER_REGEXP ]]; then
echo "Invalid alphaVersion string"
Expand Down

0 comments on commit ecb2e20

Please sign in to comment.