diff options
| author | TrainDoctor <traindoctor@protonmail.com> | 2022-09-04 20:36:03 -0700 |
|---|---|---|
| committer | TrainDoctor <traindoctor@protonmail.com> | 2022-09-04 20:39:57 -0700 |
| commit | 97f95705f8ba971608d5c723a50839a591e21eb4 (patch) | |
| tree | 87d522c431376defed64022dfb1bb181cfa0253d /.github/workflows | |
| parent | 7c99af9a9a9ef1c3d0bf9dc7cca2bfad6a9f82e9 (diff) | |
| download | decky-loader-97f95705f8ba971608d5c723a50839a591e21eb4.tar.gz decky-loader-97f95705f8ba971608d5c723a50839a591e21eb4.zip | |
Fix pre-release, none
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1df1b34d..813d22ee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 |
