File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -84,13 +84,15 @@ jobs:
8484 - name : git commit & push back
8585 run : |
8686 set -eux
87+ GCOMMIT_MESSAGE="${COMMIT_MESSAGE//%s/$VERSION_PLAIN}"
8788 git add package.json yarn.lock
8889 git commit -s -m "$GCOMMIT_MESSAGE"
8990 git tag "$GTAG_NAME"
9091 git push --follow-tags
9192 env :
92- GCOMMIT_MESSAGE : ${{ github.event.inputs.commitMessage }}
93+ COMMIT_MESSAGE : ${{ github.event.inputs.commitMessage }}
9394 GTAG_NAME : ${{ steps.bump.outputs.version }}
95+ VERSION_PLAIN : ${{ steps.bump.outputs.version_plain }}
9496
9597 build :
9698 needs : [ "bump" ]
@@ -136,14 +138,16 @@ jobs:
136138 if-no-files-found : error
137139
138140 test-licenses :
139- needs : [ 'build' ]
141+ needs : [ 'bump', ' build' ]
140142 name : test licenses
141143 runs-on : ubuntu-latest
142144 timeout-minutes : 10
143145 steps :
144146 - name : Checkout
145147 # see https://github.com/actions/checkout
146148 uses : actions/checkout@v5
149+ with :
150+ ref : ${{ needs.bump.outputs.version }}
147151 - name : install tools
148152 run : pip install -r tools/test-3rd-party-licenses.requirements.txt
149153 - name : Setup Node.js ${{ env.NODE_ACTIVE_LTS }}
@@ -312,4 +316,4 @@ jobs:
312316 name : ${{ needs.bump.outputs.version_plain }}
313317 prerelease : ${{ github.event.inputs.prerelease }}
314318 files : ' ${{ env.ASSETS_DIR }}/*'
315- target_commitish : ${{ github.head_ref || github.ref_name }}
319+ # If a tag already has a GitHub release, the existing release will be updated with the release assets.
You can’t perform that action at this time.
0 commit comments