Skip to content

Commit 6888ea6

Browse files
committed
chore: create git tags after release
1 parent fa06305 commit 6888ea6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,10 @@ jobs:
3131
env:
3232
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3333
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
34+
35+
- name: Create git tags
36+
if: steps.changesets.outputs.published == 'true'
37+
run: |
38+
VERSION=$(node -p "require('./packages/cli/package.json').version")
39+
git tag "v$VERSION"
40+
git push origin "v$VERSION"

0 commit comments

Comments
 (0)