Skip to content

Commit

Permalink
Update deplot scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
berzniz committed Apr 18, 2020
1 parent 6e8fb89 commit 9dd1a8f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy_chrome_store.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ OUTPUT_TARGET=chrome
OUTPUT_FOLDER=./build/$OUTPUT_TARGET/$ENV
OUTPUT_FILE=$OUTPUT_TARGET.zip

rm -f ./$OUTPUT_FILE

yarn
yarn test-ci
NODE_ENV=production yarn build-$OUTPUT_TARGET
Expand Down
8 changes: 8 additions & 0 deletions deploy_firefox_store.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,17 @@ OUTPUT_TARGET=firefox
OUTPUT_FOLDER=./build/$OUTPUT_TARGET/$ENV
OUTPUT_FILE=$OUTPUT_TARGET.zip

rm -f ./$OUTPUT_FILE

yarn
yarn test-ci
NODE_ENV=production yarn build-$OUTPUT_TARGET
cd $OUTPUT_FOLDER
zip -r ../../../$OUTPUT_FILE ./*
cd -

VERSION=`cat $OUTPUT_FOLDER/manifest.json | json version`
zip -r firefox_source_$VERSION.zip src utils ./.babelrc package.json README.md webpack.config.js yarn.lock

echo ""
echo "Upload: https://addons.mozilla.org/en-US/developers/addons"

0 comments on commit 9dd1a8f

Please sign in to comment.