Skip to content

Commit 8c50674

Browse files
committed
ci: add git tagging step to release workflow
1 parent 35de2f4 commit 8c50674

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ jobs:
3333
- name: Publish to npm
3434
if: steps.changesets.outputs.hasChangesets == 'false'
3535
run: |
36-
npm config set registry https://registry.npmjs.org
3736
bun run build
38-
npx changeset publish
37+
npm publish --provenance --access public
38+
- name: Create git tags
39+
if: steps.changesets.outputs.hasChangesets == 'false'
40+
run: |
41+
npx changeset tag
42+
git push --follow-tags
43+
env:
44+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)