Skip to content

Commit 0a633ee

Browse files
committed
fix: new version
1 parent af4f1b0 commit 0a633ee

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ jobs:
2626
env:
2727
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2828
run: |
29-
export VERSION=$(npx semantic-release --dry-run | grep 'The next release version is' | sed -E 's/.* ([[:digit:].]+)$/\1/')
30-
echo "::set-output name=version::$VERSION"
29+
export NEXT_TAG_VERSION=$(npx semantic-release --dry-run | grep 'The next release version is' | sed -E 's/.* ([[:digit:].]+)$/\1/')
30+
echo "new_tag_version=${NEXT_TAG_VERSION}" >> $GITHUB_OUTPUT
31+
3132

3233

3334
- name: Release 🚀
@@ -36,4 +37,4 @@ jobs:
3637
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3738

3839
- name: Version
39-
run: echo "The version is ${{ steps.release.outputs.version }}"
40+
run: echo "The version is ${{ steps.release.outputs.new_tag_version }}"

0 commit comments

Comments
 (0)