Skip to content

Commit 722d02a

Browse files
committed
chore(react): move changelog copy step to before version push
1 parent 4b54045 commit 722d02a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ jobs:
5959
- name: Set version of react package
6060
working-directory: packages/react
6161
run: yarn version ${{ steps.store-new-version.outputs.new_version }} --immediate
62+
- name: Copy changelog over
63+
working-directory: packages/react
64+
run: cp ../core/CHANGELOG.md CHANGELOG.md
6265
- name: Push changed package.json to github
6366
run: |
64-
git add packages/react/package.json
67+
git add packages/react/package.json packages/react/CHANGELOG.md
6568
git commit -m "chore(react): update package version to ${{ steps.store-new-version.outputs.new_version }}"
6669
git push origin main
67-
- name: Copy changelog over
68-
working-directory: packages/react
69-
run: cp ../core/CHANGELOG.md CHANGELOG.md
7070
- name: Configure yarn
7171
working-directory: packages/core
7272
run: |

0 commit comments

Comments
 (0)