Commit 2d61b9c0 authored by Alex Beregszaszi's avatar Alex Beregszaszi

Do not package browser-solidity-*.zip recursively

parent c6fa3cb0
...@@ -16,7 +16,7 @@ env: ...@@ -16,7 +16,7 @@ env:
- COMMIT_AUTHOR_EMAIL="chris@ethereum.org" - COMMIT_AUTHOR_EMAIL="chris@ethereum.org"
- COMMIT_AUTHOR="Travis CI" - COMMIT_AUTHOR="Travis CI"
- PUSH_REPO="git@github.com:ethereum/browser-solidity.git" - PUSH_REPO="git@github.com:ethereum/browser-solidity.git"
- FILES_TO_PACKAGE="assets background.js build icon.png index.html manifest.json README.md browser-solidity-*.zip" - FILES_TO_PACKAGE="assets background.js build icon.png index.html manifest.json README.md"
cache: cache:
directories: directories:
- node_modules - node_modules
...@@ -14,7 +14,7 @@ echo "To use an offline copy, download browser-solidity-$SHA.zip." >> README.md ...@@ -14,7 +14,7 @@ echo "To use an offline copy, download browser-solidity-$SHA.zip." >> README.md
# ZIP the whole directory # ZIP the whole directory
zip -r browser-solidity-$SHA.zip $FILES_TO_PACKAGE zip -r browser-solidity-$SHA.zip $FILES_TO_PACKAGE
# -f is needed because "build" is part of .gitignore # -f is needed because "build" is part of .gitignore
git add -f $FILES_TO_PACKAGE git add -f $FILES_TO_PACKAGE browser-solidity-$SHA.zip
git commit -m "Built website from {$SHA}." git commit -m "Built website from {$SHA}."
ENCRYPTED_KEY_VAR="encrypted_${ENCRYPTION_LABEL}_key" ENCRYPTED_KEY_VAR="encrypted_${ENCRYPTION_LABEL}_key"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment