1
Fork 0

Added release zipping for chrome

This commit is contained in:
Jake Howard 2015-10-05 15:52:45 +01:00
parent 315547aece
commit 662c3b92ab
3 changed files with 8 additions and 1 deletions

1
.gitignore vendored
View file

@ -3,6 +3,7 @@ chrome/key.pem
chrome/data
chrome/*.crx
chrome/manifest.json
chrome/release.zip
# Firefox extension files

View file

@ -6,6 +6,7 @@
"scripts": {
"create-dirs": "mkdir -p firefox/data chrome/data build/injections build/lib",
"run": "bash scripts/test-extension.sh",
"release": "bash scripts/release.sh",
"build-js": "bash scripts/build-js.sh",
"develop": "npm run build-js && bash scripts/distribute.sh",
"build-assets": "env/bin/python3 assets/build-assets.py",

View file

@ -8,4 +8,9 @@ jpm xpi --check-memory --profile-memory
cd -
echo "Building Chrome Extension..."
crx pack chrome -o 'chrome/hipchat-emoticons-for-all.crx' -p 'chrome/key.pem'
crx pack chrome -o 'chrome/hipchat-emoticons-for-all.crx' -p 'chrome/key.pem'
echo "Zipping Chrome Extension..."
cd chrome
zip 'release.zip' -1 -9 -T 'hipchat-emoticons-for-all.crx' 'manifest.json' 'data/*'
cd -