Skip to content

Commit

Permalink
chore(github-release): don't create git-tag when publishing to github
Browse files Browse the repository at this point in the history
  • Loading branch information
venikx committed Jun 7, 2023
1 parent 938840e commit 59198e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: changesets/action@v1
with:
version: npm run version
publish: npm run release
publish: npm run release:npm
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand All @@ -46,7 +46,7 @@ jobs:
uses: changesets/action@v1
with:
version: npm run version
publish: npm run release
publish: npm run release:github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"build-storybook": "storybook build",
"prepare": "husky install",
"version": "changeset version && npm install --package-lock-only",
"release": "npm run build && changeset publish"
"release:npm": "npm run build && changeset publish",
"release:github": "npm run build && changeset publish --no-git-tag"
},
"lint-staged": {
"*": "prettier --write --ignore-unknown"
Expand Down

0 comments on commit 59198e2

Please sign in to comment.