chore: Add changelog to release PR (#18183)

This commit is contained in:
Koen Kanters
2023-07-02 09:49:51 +02:00
committed by GitHub
parent 5067721fdf
commit 08e82e4980
+7
View File
@@ -57,6 +57,13 @@ jobs:
node scripts/generateChangelog.js $MASTER_Z2M_VERSION $MASTER_ZHC_VERSION $MASTER_ZH_VERSION >> ../changelog.txt
env:
GH_TOKEN: ${{secrets.GH_TOKEN}}
- name: Update changelog in release PR
run: |
PR=$(echo '${{ steps.release.outputs.pr }}' | jq -r .number)
cd z2m
gh pr edit $PR -F ../changelog.txt
env:
GH_TOKEN: ${{ github.token }}
- name: Upload changelog
uses: actions/upload-artifact@v3
with: