Skip to content

Commit 832261a

Browse files
committed
release: rebuild the version file after bumping version during release
otherwise we package up a version file that is stale since it was built during yarn install and never rebuilt after release-it changed package.json::version
1 parent f1cb82e commit 832261a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.release-it.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
"npm": {
1010
"skipChecks": true
1111
},
12+
"hooks": {
13+
"after:bump": "yarn build"
14+
},
1215
"plugins": {
1316
"@release-it/conventional-changelog": {
1417
"preset": {

0 commit comments

Comments
 (0)