From c0adaebc24356eceb3191883dbdf555a360b5c86 Mon Sep 17 00:00:00 2001 From: Mike Fix Date: Wed, 26 Apr 2017 13:24:11 -0500 Subject: [PATCH] Add release script --- bin/release.sh | 8 ++++++++ package.json | 1 + 2 files changed, 9 insertions(+) create mode 100755 bin/release.sh diff --git a/bin/release.sh b/bin/release.sh new file mode 100755 index 0000000..ea8de90 --- /dev/null +++ b/bin/release.sh @@ -0,0 +1,8 @@ +echo " Releasing $1 version" +npm run lint +npm run build +npm run package +npm run zip +npm version $1 +git push --tags +release diff --git a/package.json b/package.json index 0a64efa..237519a 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "jest": "^19.0.2", "json-loader": "^0.5.4", "node-sass": "^4.3.0", + "release": "^1.2.1", "sass-loader": "^4.1.1", "style-loader": "^0.13.1", "webpack": "^1.14.0"