We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af4f1b0 commit 0a633eeCopy full SHA for 0a633ee
1 file changed
.github/workflows/release.yml
@@ -26,8 +26,9 @@ jobs:
26
env:
27
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28
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"
+ export NEXT_TAG_VERSION=$(npx semantic-release --dry-run | grep 'The next release version is' | sed -E 's/.* ([[:digit:].]+)$/\1/')
+ echo "new_tag_version=${NEXT_TAG_VERSION}" >> $GITHUB_OUTPUT
31
+
32
33
34
- name: Release 🚀
@@ -36,4 +37,4 @@ jobs:
36
37
38
39
- name: Version
- run: echo "The version is ${{ steps.release.outputs.version }}"
40
+ run: echo "The version is ${{ steps.release.outputs.new_tag_version }}"
0 commit comments