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

Create a self contained ZIP with each travis build
pull/1/head
chriseth 8 years ago committed by GitHub
commit b232ef8f96
  1. 5
      ci/deploy_from_travis.sh

@ -10,8 +10,11 @@ git checkout --orphan gh-pages
git rm --cached -r .
echo "# Automatic build" > 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
git add -f $FILES_TO_PACKAGE
git add -f $FILES_TO_PACKAGE browser-solidity-$SHA.zip
git commit -m "Built website from {$SHA}."
ENCRYPTED_KEY_VAR="encrypted_${ENCRYPTION_LABEL}_key"

Loading…
Cancel
Save