Skip to content

Commit 15ed54f

Browse files
committed
Move updated changelog into place before creating mergeback PR
1 parent 25c4fcc commit 15ed54f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/rollback-release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,15 @@ jobs:
147147
--title "$VERSION" \
148148
--notes-file "$PARTIAL_CHANGELOG"
149149
150+
- name: Update changelog
151+
shell: bash
152+
env:
153+
NEW_CHANGELOG: "${{ runner.temp }}/new_changelog.md"
154+
NEW_BRANCH: "${{ steps.mergeback-branch.outputs.new-branch }}"
155+
run: |
156+
git checkout "${NEW_BRANCH}"
157+
mv ${NEW_CHANGELOG} CHANGELOG.md
158+
150159
- name: Create mergeback branch and PR
151160
uses: ./.github/actions/prepare-mergeback-branch
152161
with:

0 commit comments

Comments
 (0)