Skip to content

Commit a8211bf

Browse files
bugfix: use the new env var
though, i am surprised that the next job ran..
1 parent a8863f3 commit a8211bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-stable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
3030
semantic_version_pattern='^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(-((0|[1-9][0-9]*|[0-9]*[a-zA-Z-][0-9a-zA-Z-]*)(\.(0|[1-9][0-9]*|[0-9]*[a-zA-Z-][0-9a-zA-Z-]*))*))?(\+([0-9a-zA-Z-]+(\.[0-9a-zA-Z-]+)*))?$'
3131
32-
if [[ ${GITHUB_REF/refs\/tags\//} =~ $semantic_version_pattern ]]; then
32+
if [[ ${GITHUB_TAG} =~ $semantic_version_pattern ]]; then
3333
echo ::set-output name=is_semantic_version::'true'
3434
else
3535
echo ::set-output name=is_semantic_version::'false'

0 commit comments

Comments
 (0)