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 a8863f3 commit a8211bfCopy full SHA for a8211bf
.github/workflows/publish-stable.yml
@@ -29,7 +29,7 @@ jobs:
29
30
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-]+)*))?$'
31
32
- if [[ ${GITHUB_REF/refs\/tags\//} =~ $semantic_version_pattern ]]; then
+ if [[ ${GITHUB_TAG} =~ $semantic_version_pattern ]]; then
33
echo ::set-output name=is_semantic_version::'true'
34
else
35
echo ::set-output name=is_semantic_version::'false'
0 commit comments