Update build.sh

This commit is contained in:
Ceda EI 2020-09-20 12:42:42 +05:30
parent 33fcf0ab21
commit 6bcef99546
1 changed files with 1 additions and 1 deletions

View File

@ -7,5 +7,5 @@ yarn build
cd .. cd ..
[[ -d web-ext-artifacts ]] || mkdir web-ext-artifacts [[ -d web-ext-artifacts ]] || mkdir web-ext-artifacts
FILENAME="$(basename "$PWD")-$(jq -r .version manifest.json).zip" FILENAME="$(basename "$PWD")-$(jq -r .version manifest.json).zip"
zip -r "web-ext-artifacts/$FILENAME" LICENSE gmcr.js manifest.json popup/build/ icons/ zip -r "web-ext-artifacts/$FILENAME" LICENSE gmcr.js manifest.json background.js popup/build/ icons/
zip -r "web-ext-artifacts/source-$FILENAME" $(git ls-files) zip -r "web-ext-artifacts/source-$FILENAME" $(git ls-files)