File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1515 issues : write # to be able to comment on released issues
1616 pull-requests : write # to be able to comment on released pull requests
1717 outputs :
18- next-version : ${{ steps.semantic-release.next-version }}
18+ next-version : ${{ steps.semantic-release.outputs. next-version }}
1919
2020 steps :
2121 - name : Checkout repository
4545 id : semantic-release
4646 env :
4747 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
48- run : npx semantic-release
48+ run : |
49+ npx semantic-release
50+ VERSION=$(cat VERSION)
51+ echo "Next version: $VERSION"
52+ echo "next-version=$VERSION" >> $GITHUB_OUTPUT
4953
5054 docker :
5155 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ plugins:
1414 - CHANGELOG.md
1515 - semantic-release-major-tag
1616 - - "@semantic-release/exec"
17- - prepareCmd : " echo \" next-version= ${nextRelease.version}\" >> \" $GITHUB_OUTPUT \" "
17+ - prepareCmd : " echo ${nextRelease.version} > VERSION "
You can’t perform that action at this time.
0 commit comments