mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-12 08:33:34 +03:00
Fix pre-release, none
This commit is contained in:
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@@ -210,14 +210,18 @@ jobs:
|
||||
if [[ "${{github.event.inputs.bump}}" != "none" ]]; then
|
||||
OUT=$(semver bump release "$VERSION")
|
||||
printf "OUT: ${OUT}\n"
|
||||
OUT=$(semver bump ${{github.event.inputs.bump}} "$VERSION")
|
||||
OUT=$(semver bump ${{github.event.inputs.bump}} "$OUT")
|
||||
printf "OUT: ${OUT}\n"
|
||||
fi
|
||||
if [[ ! "$OUT" =~ "-pre" ]]; then
|
||||
OUT="$OUT-pre"
|
||||
OUT="${OUT}-pre"
|
||||
printf "OUT: ${OUT}\n"
|
||||
fi
|
||||
OUT=$(semver bump prerel "$OUT")
|
||||
if [[ "$OUT" == "" ]]; then
|
||||
OUT=$(semver bump prerel "$VERSION")
|
||||
else
|
||||
OUT=$(semver bump prerel "$OUT")
|
||||
fi
|
||||
echo "OUT: v$OUT"
|
||||
echo ::set-output name=tag_name::v$OUT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user