From 8668c88c32d1a471ee80dc82b4860bc020f6c490 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 16 Apr 2019 01:02:01 +0200 Subject: [PATCH] add changelog:commit command --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 0dbc214..d37d1ff 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "release-minor": "./node_modules/release-it/bin/release-it.js minor --git.tagName='v${version}' --github.release --non-interactive --no-npm.publish", "release-major": "./node_modules/release-it/bin/release-it.js major --git.tagName='v${version}' --github.release --non-interactive --no-npm.publish", "changelog": "auto-changelog", + "changelog:commit": "npm run changelog && git add CHANGELOG.md && git commit -m 'update changelog' && git push", "beforeStage": "npm run changelog" }, "dependencies": {},