Skip to content

Commit 024a8e0

Browse files
Merge pull request #43 from MatteoPologruto/fix-prerelease-step
Fix `Identify Prerelease` step in the release workflow
2 parents c02688a + 81fb943 commit 024a8e0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release-go-task.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,12 @@ jobs:
8888
run: |
8989
wget -q -P /tmp https://github.com/fsaintjacques/semver-tool/archive/3.2.0.zip
9090
unzip -p /tmp/3.2.0.zip semver-tool-3.2.0/src/semver >/tmp/semver && chmod +x /tmp/semver
91-
if [[
91+
if [[ \
9292
"$(
9393
/tmp/semver get prerel \
9494
"${GITHUB_REF/refs\/tags\//}"
95-
)"
95+
)" != \
96+
"" \
9697
]]; then
9798
echo "IS_PRE=true" >> $GITHUB_OUTPUT
9899
fi

0 commit comments

Comments
 (0)