Skip to content

Commit 51f0196

Browse files
committed
update GH action to push tags
1 parent 41acaa3 commit 51f0196

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/publish.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ jobs:
2222
env:
2323
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2424
- run: pnpm publish -r --report-summary --publish-branch main --access=public
25+
26+
- name: Setup GH user
27+
run: git config user.name ${{ secrets.GH_USER }}
28+
run: git config user.email ${{ secrets.GH_EMAIL }}
29+
30+
- name: Push tags
31+
run: pnpm changeset tag
32+
run: git push --tags
33+
2534
- run: pnpm run generate-slack-report
2635
env:
27-
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
36+
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}

0 commit comments

Comments
 (0)