summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorTrainDoctor <traindoctor@protonmail.com>2022-09-04 21:03:45 -0700
committerTrainDoctor <traindoctor@protonmail.com>2022-09-04 21:03:45 -0700
commitd1887870f5c17397befed2adac04bf2f8bfed650 (patch)
treed93b89f19b25f6847add02899f36f0ece3f35241 /.github/workflows/build.yml
parent18924030446e7ea971d55677ff604df414aa4e1c (diff)
downloaddecky-loader-d1887870f5c17397befed2adac04bf2f8bfed650.tar.gz
decky-loader-d1887870f5c17397befed2adac04bf2f8bfed650.zip
return default value for out to ""
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 6c429e37..a3d4af9b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -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")