From 0d1487ae3edf914a3ddaf36ea67be0d94838c702 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Mon, 22 Apr 2019 00:57:43 +0200 Subject: [PATCH] Add release script --- .gitignore | 1 + package.json | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d6a05db..92aafda 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .idea node_modules yarn-error.log +release diff --git a/package.json b/package.json index 9510462..95384d1 100644 --- a/package.json +++ b/package.json @@ -46,6 +46,8 @@ }, "scripts": { "browserify": "browserify -o libs/js/bitcoin.js browserify.js --standalone bitcoin", - "templates": "grunt ngtemplates" + "templates": "grunt ngtemplates", + "maketargz": "tar --exclude=release --exclude=.idea --exclude=node_modules -czvf release/cryptography-toolkit.offline.tar.gz *", + "release": "rm -rf release && mkdir release && yarn maketargz && cd release && sha256sum -b * > cryptography-toolkit.offline.sum" } }