summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrainDoctor <traindoctor@protonmail.com>2022-09-04 20:51:16 -0700
committerTrainDoctor <traindoctor@protonmail.com>2022-09-04 20:51:16 -0700
commitf5a18372279156eef0dc1e86f016aaed43c0639d (patch)
treeb68f7bdd2929af2655d7e935354bc191224f9e8c
parent97f95705f8ba971608d5c723a50839a591e21eb4 (diff)
downloaddecky-loader-f5a18372279156eef0dc1e86f016aaed43c0639d.tar.gz
decky-loader-f5a18372279156eef0dc1e86f016aaed43c0639d.zip
OUT
-rw-r--r--.github/workflows/build.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 813d22ee..10343575 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -134,6 +134,7 @@ jobs:
run: |
export VERSION=${{ steps.latest_release.outputs.release }}
echo "VERS: $VERSION"
+ OUT="notsemver"
if [[ "$VERSION" =~ "-pre" ]]; then
printf "is prerelease, bumping release\n"
OUT=$(semver bump release "$VERSION")
@@ -207,13 +208,16 @@ jobs:
run: |
export VERSION=${{ steps.latest_release.outputs.release }}
echo "VERS: $VERSION"
+ OUT="notsemver"
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"
fi