Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
CA-MKSingh authored Oct 6, 2024
1 parent 37304e2 commit 2093040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

- name: Determine version from release
run: |
if [[ "$GITHUB_REF" =~ ^refs/tags/v([0-9]+.[0-9]+.[0-9]+)$ ]]; then
if [[ "$GITHUB_REF" =~ ^refs/tags/v([0-9]+.[0-9]+.[0-9]+)(-[alpha|beta])?$ ]]; then
VERSION="${BASH_REMATCH[1]}"
else
echo "Invalid release tag format. Exiting."
Expand Down

0 comments on commit 2093040

Please sign in to comment.