Skip to content

Commit 6ae5efe

Browse files
committed
ci: generate changelog after publish
1 parent 47b95ba commit 6ae5efe

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -117,18 +117,18 @@ jobs:
117117
shell: bash
118118
run: pnpm install --frozen-lockfile
119119

120-
- name: Generate GitHub Changelog
121-
run: pnpx changelogithub --from "$FROM_TAG" --to "$TAG"
122-
continue-on-error: true
123-
env:
124-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
125-
TAG: ${{ steps.resolve.outputs.TAG }}
126-
FROM_TAG: ${{ steps.resolve.FROM_TAG }}
127-
128120
- name: Build
129121
run: pnpm build
130122
working-directory: ${{ steps.resolve.outputs.PACKAGE_PATH }}
131123

132124
- name: Publish to NPM
133125
run: pnpm publish --access public --no-git-checks
134126
working-directory: ${{ steps.resolve.outputs.PACKAGE_PATH }}
127+
128+
- name: Generate GitHub Changelog
129+
run: pnpx changelogithub --from "$FROM_TAG" --to "$TAG"
130+
continue-on-error: true
131+
env:
132+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
133+
TAG: ${{ steps.resolve.outputs.TAG }}
134+
FROM_TAG: ${{ steps.resolve.FROM_TAG }}

0 commit comments

Comments
 (0)