Skip to content

Commit

Permalink
update release script
Browse files Browse the repository at this point in the history
  • Loading branch information
ryota-murakami committed Oct 29, 2023
1 parent 6069c6f commit 2ad5b18
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
run: |
if git log --format=%B -n 1 | grep -q 'release v[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}'; then
pnpm release-it --no-git --no-increment --github.release --github.update --verbose
pnpm release-it --no-increment --verbose
fi
name: Release
Expand Down
10 changes: 8 additions & 2 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
{
"git": {
"changelog": null,
"tag": true,
"push": true,
"commit": false
},
"github": {
"autoGenerate": true,
"release": true,
"releaseName": "v${version}"
"releaseName": "v${version}",
"releaseNotes": "git log --no-merges --pretty=format:\"* %s %h\" ${latestTag}...main"
},
"npm": {
"publishArgs": ["--provenance"]
Expand Down

0 comments on commit 2ad5b18

Please sign in to comment.