From 62a507163a9e3a7f8c8a5aa86dd55eec5fbfc51b Mon Sep 17 00:00:00 2001 From: Karl-Philipp Wulfert Date: Mon, 7 Jan 2019 11:52:35 +0100 Subject: [PATCH] build: automate adding of changelog --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 19226735..7823d32e 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ }, "scripts": { "build": "npm run tslint && npm run compile && npm run documentation", - "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", + "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m 'docs: update changelog'", "compile": "tsc && sed -i '1i#!/usr/bin/env node' lib/cli.js", "documentation": "typedoc --includeDeclarations --excludeExternals --mode modules --out docs src", "prepublishOnly": "npm run build",