diff --git a/release/.release-it.json b/release/.release-it.json index 142a57122..2c69e4c29 100644 --- a/release/.release-it.json +++ b/release/.release-it.json @@ -1,10 +1,10 @@ { - "scripts": { - "beforeBump": [ + "hooks": { + "before:bump": [ "./release/check-for-breaking-changes.sh ${latestVersion} ${version}" ], - "beforeStage": ["npm run build"], - "afterRelease": "echo GIT_TAG=v${version} > release/.version" + "after:bump": ["npm run build"], + "after:release": "echo GIT_TAG=v${version} > release/.version" }, "git": { "requireUpstream": false, @@ -24,3 +24,4 @@ } } } +