Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 194cdbf commit 96e8861Copy full SHA for 96e8861
.github/workflows/release.yaml
@@ -16,7 +16,8 @@ jobs:
16
- name: Check if tag name has alpha or beta
17
id: check_tag_name
18
run: |
19
- if [[ ${{ github.ref }} =~ ^refs/tags/v[0-9]+\.[0-9]+\.[0-9]+-(alpha|beta)\.[0-9]+$ ]]; then
+ set -euo pipefail
20
+ if [[ "${{ github.ref }}" =~ -(alpha|beta)- ]]; then
21
echo "PRE_RELEASE=true" >> $GITHUB_ENV
22
else
23
echo "PRE_RELEASE=false" >> $GITHUB_ENV
0 commit comments