Actually send the proper variable out

This commit is contained in:
TrainDoctor
2022-08-11 16:54:13 -07:00
parent ed0ae7c9e2
commit 6c48dfe7f6

View File

@@ -117,12 +117,10 @@ jobs:
id: ready_tag
run: |
export VERSION=${{ steps.old_tag.outputs.tag }}
# export SEMVER=$(sed -r 's/(-.*)?-pre$//' <<< $VERSION)
echo "VERS: $VERSION"
# echo "TO SEMVER: $SEMVER"
OUT=$(semver bump prerel "$VERSION")
echo "OUT: $OUT"
echo ::set-output name=tag_name::$(sed -r 's/(-.*)?-pre$//' <<< $VERSION)-pre
echo ::set-output name=tag_name::$OUT
- name: Push tag 📤
uses: rickstaa/action-create-tag@v1.3.2