|
|
|
@ -12,7 +12,7 @@ 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 . |
|
|
|
|
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 commit -m "Built website from {$SHA}." |
|
|
|
|