Skip to content

Commit 30e0ab5

Browse files
authored
housekeeping: update release-it config (#1543)
1 parent 78633fd commit 30e0ab5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

release/.release-it.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"scripts": {
3-
"beforeBump": [
2+
"hooks": {
3+
"before:bump": [
44
"./release/check-for-breaking-changes.sh ${latestVersion} ${version}"
55
],
6-
"beforeStage": ["npm run build"],
7-
"afterRelease": "echo GIT_TAG=v${version} > release/.version"
6+
"after:bump": ["npm run build"],
7+
"after:release": "echo GIT_TAG=v${version} > release/.version"
88
},
99
"git": {
1010
"requireUpstream": false,
@@ -24,3 +24,4 @@
2424
}
2525
}
2626
}
27+

0 commit comments

Comments
 (0)