Skip to content

Commit f6ad4ac

Browse files
committed
ci: fix tag check
1 parent 45554ad commit f6ad4ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: |
4444
trimmed_tag=${GITHUB_REF#refs/tags/}
4545
echo trimmed_tag='"'$trimmed_tag'"'
46-
exit [[ "$trimmed_tag" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]
46+
[[ "$trimmed_tag" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] && exit 0 || exit 1
4747
4848
# if both build and verify-tag passes
4949
# downloads build artefact

0 commit comments

Comments
 (0)