Skip to content

Commit

Permalink
fix publish tag regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheaterpaul committed Mar 6, 2024
1 parent 66006e8 commit a863ca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
echo "environment=Release" >> $GITHUB_OUTPUT
echo "version=release" >> $GITHUB_OUTPUT
fi
elif [[ ${{ github.event.ref }} =~ refs\/tags\/v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)-(0|[1-9]\d*)\.(0|[1-9]\d*) ]]; then
elif [[ ${{ github.event.ref }} =~ refs\/tags\/v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)-(0|[1-9]\d*)\.(0|[1-9]\d*)(\.(0|[1-9]\d*))? ]]; then
echo "environment=Release" >> $GITHUB_OUTPUT
echo "version=release" >> $GITHUB_OUTPUT
fi
Expand Down

0 comments on commit a863ca7

Please sign in to comment.