Skip to content

Commit

Permalink
Instruct changeset action to create Git tags (#617)
Browse files Browse the repository at this point in the history
  • Loading branch information
kin0992 authored Feb 9, 2024
1 parent b2060e0 commit 6daca61
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
with:
# Note: `npm i` after versioning is necessary to refresh package-lock.json file with new version
version: npm run version
publish: npm run tag
commit: "Update CHANGELOG and prepare next release"
title: "Bump version"
title: "Push next releases"
createGithubReleases: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"lint": "turbo run lint",
"test": "turbo run test",
"changeset": "changeset",
"version": "changeset version && npm i"
"version": "changeset version && npm i",
"tag": "changeset tag"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
Expand Down

0 comments on commit 6daca61

Please sign in to comment.