Commit b232ef8f authored by chriseth's avatar chriseth Committed by GitHub

Merge pull request #129 from ethereum/self-contained-zip

Create a self contained ZIP with each travis build
parents c0a55f45 2d61b9c0
...@@ -10,8 +10,11 @@ git checkout --orphan gh-pages ...@@ -10,8 +10,11 @@ git checkout --orphan gh-pages
git rm --cached -r . git rm --cached -r .
echo "# Automatic build" > README.md echo "# Automatic build" > README.md
echo "Built website from {$SHA}. See https://github.com/ethereum/browser-solidity/ for details." >> README.md echo "Built website from {$SHA}. See https://github.com/ethereum/browser-solidity/ for details." >> README.md
echo "To use an offline copy, download browser-solidity-$SHA.zip." >> README.md
# ZIP the whole directory
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