File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -194,11 +194,12 @@ jobs:
194
194
run : |
195
195
wget -q -P /tmp https://github.com/fsaintjacques/semver-tool/archive/3.2.0.zip
196
196
unzip -p /tmp/3.2.0.zip semver-tool-3.2.0/src/semver >/tmp/semver && chmod +x /tmp/semver
197
- if [[
197
+ if [[ \
198
198
"$(
199
199
/tmp/semver get prerel \
200
200
"${GITHUB_REF/refs\/tags\//}"
201
- )"
201
+ )" != \
202
+ "" \
202
203
]]; then
203
204
echo "IS_PRE=true" >> $GITHUB_OUTPUT
204
205
fi
Original file line number Diff line number Diff line change @@ -53,11 +53,12 @@ jobs:
53
53
- name : Identify Prerelease
54
54
id : prerelease
55
55
run : |
56
- if [[
56
+ if [[ \
57
57
"$(
58
58
"${{ env.SEMVER_TOOL_PATH }}" get prerel \
59
59
"${GITHUB_REF/refs\/tags\//}"
60
- )"
60
+ )" != \
61
+ "" \
61
62
]]; then
62
63
echo "IS_PRE=true" >> $GITHUB_OUTPUT"
63
64
fi
You can’t perform that action at this time.
0 commit comments