Skip to content

Commit f430265

Browse files
committed
update build
1 parent 75b428b commit f430265

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@ jobs:
1818
- name: Env
1919
# set TAG=DEV if not a tag
2020
run: |
21-
if [[ "${{ github.ref }}" = refs/tags/* ]]; then
22-
export TAG= ${GITHUB_REF:10}
23-
else
24-
export TAG=DEV
25-
fi
26-
echo "TAG=${{env.TAG}}" >> $GITHUB_ENV
21+
if [[ "refs/tags/1.7.0" = refs/tags/* ]]; then
22+
export TAG=${GITHUB_REF:10}
23+
else
24+
export TAG=DEV
25+
fi
26+
echo "TAG=$TAG" >> $GITHUB_ENV
27+
2728
shell: bash
2829
- name: Node.js
2930
uses: actions/setup-node@v3

0 commit comments

Comments
 (0)