From 05e3d7626cd57864834f792677a6f8cf8af1467f Mon Sep 17 00:00:00 2001 From: Timothy Lai Date: Thu, 14 May 2020 10:11:41 -0700 Subject: [PATCH] housekeeping: update release-it config --- release/.release-it.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 @@ } } } +