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