File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,19 +24,23 @@ jobs:
2424 - name : Checkout OpenAPI
2525 uses : actions/checkout@v4
2626
27- - name : Generate spec
27+ - name : Generate Spec
2828 uses : ./.github/actions/generate-spec
2929 with :
3030 pro-ref : v${{ env.release }}
3131 pro-token : ${{ secrets.PRO_GITHUB_TOKEN }}
3232
33- - name : " Commit release version"
34- # We set the openapi folder as a DEPENDENCY_FILE merely to have it added to the release commit
33+ - name : Commit Release Version
34+ env :
35+ DEPENDENCY_FILE : " openapi/"
36+ RELEASE_VERSION : ${{ env.release }}
3537 run : |
36- DEPENDENCY_FILE="openapi/" bin/release-helper.sh git-commit-release ${{ env.release }}
37- git push --follow-tags
38+ git add "${DEPENDENCY_FILE}"
39+ git commit --allow-empty -m "Release: v${RELEASE_VERSION}"
40+ git tag -a "v${RELEASE_VERSION}" -m "Release: v${RELEASE_VERSION}"
41+ git push --follow-tags
3842
39- - name : " Show git modifications "
43+ - name : Show Git Modifications
4044 run : |
4145 git log --oneline -n 2
4246 git show HEAD
You can’t perform that action at this time.
0 commit comments