diff --git a/README.md b/README.md index ec572c0..c66282f 100644 --- a/README.md +++ b/README.md @@ -26,5 +26,5 @@ npm run build Generate the extension .zip file: ```bash -./create_zip.sh +npm run build-zip ``` diff --git a/create_zip.sh b/create_zip.sh deleted file mode 100755 index f5b0a32..0000000 --- a/create_zip.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -VERSION=$(cat package.json | grep -e '"version"\s*:\s*"' | head -1 | sed -r -e 's/.*"version"\s*:\s*"([^"]+).*/\1/') - -rm -rf dist dist-zip -npm run build -touch dist/style.css -mkdir dist-zip -cd dist -zip -r ../dist-zip/platypush-v$VERSION.zip * -cd .. -