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 f430265 commit 261c623Copy full SHA for 261c623
.github/workflows/build.yml
@@ -18,8 +18,8 @@ jobs:
18
- name: Env
19
# set TAG=DEV if not a tag
20
run: |
21
- if [[ "refs/tags/1.7.0" = refs/tags/* ]]; then
22
- export TAG=${GITHUB_REF:10}
+ if [[ ${{ github.ref }} = refs/tags/* ]]; then
+ export TAG=$(echo ${{ github.ref }} | sed -e "s/refs\/tags\///g")
23
else
24
export TAG=DEV
25
fi
0 commit comments