From 6541544026c8d14ceaf5022e26ec0adb839d0206 Mon Sep 17 00:00:00 2001 From: kirrg001 Date: Mon, 11 Feb 2019 19:30:21 +0100 Subject: [PATCH] Added "yarn ship" command no issue - @TODO: add the ability to draft a release when running `yarn ship` --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index fbee5b5..934ba9c 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,9 @@ "scripts": { "dev": "gulp", "zip": "gulp zip", - "test": "gscan ." + "test": "gscan .", + "preship": "yarn test", + "ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn version && git push --follow-tags; fi" }, "author": { "name": "Ghost Foundation",