From ea265ae6df86585a90af1bdb19151920d8945071 Mon Sep 17 00:00:00 2001 From: TrainDoctor Date: Thu, 11 Aug 2022 16:18:21 -0700 Subject: Corrected dummy tag, added echoing --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.github/workflows') 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 📤 -- cgit v1.2.3