From 53398a0ea5b0d31287297013cfdcad562808fc3a Mon Sep 17 00:00:00 2001 From: Bret Comnes Date: Fri, 28 Feb 2020 10:24:52 -0700 Subject: [PATCH] chore: add release automation --- package.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5483977..2fabc79 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "description": "A github action to cleanup xvfb pids", "main": "index.js", "scripts": { - "test": "standard ." + "test": "standard .", + "release": "git push --follow-tags && gh-release", + "version": "auto-changelog -p --template keepachangelog auto-changelog --breaking-pattern 'BREAKING CHANGE:' && git add CHANGELOG.md" }, "repository": { "type": "git", @@ -24,6 +26,8 @@ "devDependencies": { "nanochrome": "^0.1.0", "standard": "^14.3.1", - "tape": "^4.11.0" + "tape": "^4.11.0", + "auto-changelog": "^1.16.2", + "gh-release": "^3.5.0" } }