summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 04487b50..0b1a1de8 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -118,10 +118,10 @@ jobs:
run: |
export VERSION=${{ steps.old_tag.outputs.tag }}
export SEMVER=$(sed -r 's/(-.*)?-pre$//' <<< $VERSION)
- # check if original tag is release, if so we add "-pre" to the end
- # [[ "$VERSION" =~ "pre" ]] && $APPENDPRE="true"
+ echo "VERS: $VERSION"
+ echo "TO SEMVER: $SEMVER"
OUT=$(semver bump prerel "$SEMVER")-pre
- # [[ "$APPENDPRE" == "true" ]] && "$OUT"="$OUT"-pre
+ echo "OUT: $OUT"
echo ::set-output name=tag_name::$(sed -r 's/(-.*)?-pre$//' <<< $VERSION)-pre
- name: Push tag 📤