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.
Identify Prerelease
1 parent 38c6054 commit 22f3cdaCopy full SHA for 22f3cda
.github/workflows/release-go-task.yml
@@ -88,11 +88,12 @@ jobs:
88
run: |
89
wget -q -P /tmp https://github.com/fsaintjacques/semver-tool/archive/3.2.0.zip
90
unzip -p /tmp/3.2.0.zip semver-tool-3.2.0/src/semver >/tmp/semver && chmod +x /tmp/semver
91
- if [[
+ if [[ \
92
"$(
93
/tmp/semver get prerel \
94
"${GITHUB_REF/refs\/tags\//}"
95
- )"
+ )" != \
96
+ "" \
97
]]; then
98
echo "IS_PRE=true" >> $GITHUB_OUTPUT
99
fi
0 commit comments