File tree Expand file tree Collapse file tree 2 files changed +18
-17
lines changed
Expand file tree Collapse file tree 2 files changed +18
-17
lines changed Original file line number Diff line number Diff line change 1- ---
21name : ' Prepare Release'
32
43on :
76permissions : {}
87
98jobs :
10- get_next_release_version :
9+ get_version :
1110 runs-on : ubuntu-latest
1211 outputs :
13- version : ${{ steps.next_release .outputs.version }}
12+ version : ${{ steps.version .outputs.value }}
1413 steps :
1514 - name : Check out repo
1615 uses : actions/checkout@v6
@@ -24,16 +23,17 @@ jobs:
2423 bundler-cache : true
2524
2625 - name : Get next release version
27- id : next_release
26+ id : version
2827 run : |
29- echo version=$(bundle exec rake vox:version:next) >> "$GITHUB_OUTPUT"
28+ VERSION=$(bundle exec rake vox:version:next)
29+ echo "Next version: $VERSION"
30+ echo "value=$VERSION" >> "$GITHUB_OUTPUT"
3031
3132 prepare_release :
32- needs : get_next_release_version
33+ needs : get_version
3334 uses : OpenVoxProject/shared-actions/.github/workflows/prepare_release.yml@main
3435 with :
35- allowed_owner : ' OpenVoxProject'
36- version : ${{ needs.get_next_release_version.outputs.version }}
36+ version : ${{ needs.get_version.outputs.version }}
3737 secrets :
3838 github_pat : ${{ secrets.OPENVOXBOT_COMMIT_AND_PRS }}
3939 ssh_private_key : ${{ secrets.OPENVOXBOT_SSH_PRIVATE_KEY }}
Original file line number Diff line number Diff line change 1- ---
21name : ' Release'
32
43on :
76permissions : {}
87
98jobs :
10- get_current_release_version :
9+ get_version :
1110 runs-on : ubuntu-latest
1211 outputs :
13- version : ${{ steps.current_release .outputs.version }}
12+ version : ${{ steps.version .outputs.value }}
1413 steps :
1514 - name : Check out repo
1615 uses : actions/checkout@v6
@@ -23,17 +22,19 @@ jobs:
2322 ruby-version : ' 3.3'
2423 bundler-cache : true
2524
26- - name : Get current release version
27- id : current_release
25+ - name : Get version from CHANGELOG.md
26+ id : version
2827 run : |
29- echo version=$(bundle exec rake vox:version:current) >> "$GITHUB_OUTPUT"
28+ VERSION=$(bundle exec rake vox:version:current)
29+ echo "Version: $VERSION"
30+ echo "value=$VERSION" >> "$GITHUB_OUTPUT"
3031
3132 release :
33+ needs : get_version
3234 uses : OpenVoxProject/shared-actions/.github/workflows/release.yml@main
33- needs : get_current_release_version
3435 with :
35- allowed_owner : ' OpenVoxProject '
36- version : ${{ needs.get_current_release_version.outputs.version }}
36+ version : ${{ needs.get_version.outputs.version }}
37+ include_changelog_in_release : true
3738 secrets :
3839 github_pat : ${{ secrets.OPENVOXBOT_COMMIT_AND_PRS }}
3940 ssh_private_key : ${{ secrets.OPENVOXBOT_SSH_PRIVATE_KEY }}
You can’t perform that action at this time.
0 commit comments