mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-11 16:13:51 +03:00
return default value for out to ""
This commit is contained in:
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@@ -213,18 +213,18 @@ jobs:
|
||||
run: |
|
||||
export VERSION=${{ steps.latest_release.outputs.release }}
|
||||
echo "VERS: $VERSION"
|
||||
OUT="notsemver"
|
||||
OUT=""
|
||||
if [[ ! ${{ github.event.inputs.bump }} == "none" ]]; then
|
||||
printf "bumping by release then by selected\n"
|
||||
OUT=$(semver bump release "$VERSION")
|
||||
printf "OUT: ${OUT}\n"
|
||||
OUT=$(semver bump ${{github.event.inputs.bump}} "$OUT")
|
||||
printf "OUT: ${OUT}\n"
|
||||
fi
|
||||
if [[ ! "$OUT" =~ "-pre" ]]; then
|
||||
printf "appending -pre to new prerelease\n"
|
||||
OUT="${OUT}-pre"
|
||||
printf "OUT: ${OUT}\n"
|
||||
if [[ ! "$OUT" =~ "-pre" ]]; then
|
||||
printf "appending -pre to new prerelease\n"
|
||||
OUT="${OUT}-pre"
|
||||
printf "OUT: ${OUT}\n"
|
||||
fi
|
||||
fi
|
||||
if [[ "$OUT" == "" ]]; then
|
||||
OUT=$(semver bump prerel "$VERSION")
|
||||
|
||||
Reference in New Issue
Block a user