We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6def628 commit a5e9889Copy full SHA for a5e9889
.github/workflows/release.yml
@@ -29,7 +29,7 @@ jobs:
29
- name: Extract tag versions
30
run: |
31
regex="v([0-9]+).([0-9]+).([0-9]+)"
32
- if [[ $1 =~ $regex ]]
+ if [[ ${{ github.ref_name }} =~ $regex ]]
33
then
34
echo "GITHUB_MAJOR_VERSION=${BASH_REMATCH[1]}" >> $GITHUB_ENV
35
echo "GITHUB_MINOR_VERSION=${BASH_REMATCH[2]}" >> $GITHUB_ENV
0 commit comments