Skip to content

Commit cf21e1c

Browse files
committed
fix: package.json auto-update version
1 parent 0af8ad2 commit cf21e1c

File tree

4 files changed

+96
-1
lines changed

4 files changed

+96
-1
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- 'package.json'
9+
- 'typedoc.json'
710
workflow_dispatch:
811

912
jobs:

.releaserc.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@
2424
"npmPublish": true
2525
}
2626
],
27-
"@semantic-release/github"
27+
"@semantic-release/github",
28+
[
29+
"@semantic-release/git",
30+
{
31+
"assets": ["package.json", "CHANGELOG.md"],
32+
"message": "chore(release): ${nextRelease.version} [skip ci]"
33+
}
34+
]
2835
]
2936
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
"@semantic-release/github": "^11.0.2",
6262
"@semantic-release/npm": "^12.0.1",
6363
"@semantic-release/release-notes-generator": "^14.0.3",
64+
"@semantic-release/git": "^10.0.1",
6465
"@testing-library/jest-dom": "^6.6.3",
6566
"@testing-library/react": "^14.2.1",
6667
"@types/node": "^22.15.17",

pnpm-lock.yaml

Lines changed: 84 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)