File tree Expand file tree Collapse file tree 1 file changed +22
-6
lines changed
Expand file tree Collapse file tree 1 file changed +22
-6
lines changed Original file line number Diff line number Diff line change @@ -76,12 +76,28 @@ jobs:
7676 git reset --soft HEAD~1
7777 git commit -S -m "${{ steps.versions.outputs.MAIN_VERSION_COMMIT_MESSAGE }}"
7878 git merge -S -X ours release/v$NBGV_MajorMinorVersion
79-
80- - name : ⏩ Push version.json updates to main
81- run : git push origin main
82-
83- - name : ⏩ Push release branch to origin
84- run : git push origin release/v$NBGV_MajorMinorVersion
79+ git checkout release/v$NBGV_MajorMinorVersion
80+
81+ - name : 🛠️ Update changelog
82+ uses :
thomaseizinger/[email protected] 83+ with :
84+ version : ${{ env.NBGV_SimpleVersion }}
85+
86+ - name : 🛠️ Update changelog compare URLs
87+ shell : bash
88+ run : |
89+ sed -i -E "s/compare\/([0-9]+\.[0-9]+\.[0-9]+)\.\.\.([0-9]+\.[0-9]+\.[0-9]+)/compare\/v\1...v\2/" CHANGELOG.md
90+ sed -i -E "s/compare\/([0-9]+\.[0-9]+\.[0-9]+)\.\.\.HEAD/compare\/v\1...HEAD/" CHANGELOG.md
91+
92+ - name : 🛠️ Merge changelog to main
93+ run : |
94+ git checkout main
95+ git merge -S release/v$NBGV_MajorMinorVersion
96+
97+ - name : ⏩ Push release and main branch to origin
98+ run : |
99+ git push origin main
100+ git push origin release/v$NBGV_MajorMinorVersion
85101
86102 - name : ⏭ Create pull request for release branch
87103 uses :
thomaseizinger/[email protected]
You can’t perform that action at this time.
0 commit comments