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 95bd124 commit 2dc55eeCopy full SHA for 2dc55ee
.github/workflows/wf-build-release.yml
@@ -12,11 +12,11 @@ jobs:
12
- uses: actions/checkout@v5
13
name: Checkout Code
14
15
- - name: Check github.ref starts with 'refs/tags/'
16
- if: ${{ !startsWith(github.ref, 'refs/tags/') }}
+ - name: Check github.ref starts with 'refs/tags/v'
+ if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
17
shell: bash
18
run: |
19
- echo Error! github.ref does not start with 'refs/tags'
+ echo Error! github.ref does not start with 'refs/tags/v'
20
echo github.ref: ${{ github.ref }}
21
exit 1
22
@@ -25,7 +25,7 @@ jobs:
25
github_ref: ${{ github.ref }}
26
27
28
- version="${github_ref:10}"
+ version="${github_ref:11}"
29
echo version=$version
30
echo "version=$version" >> $GITHUB_ENV
31
0 commit comments