upload-homebrew-formula.sh 529 B

1234567891011121314151617
  1. #!/usr/bin/env bash
  2. # author: Lefteris Karapetsas <lefteris@refu.co>
  3. #
  4. # Just upload the generated .rb file to homebrew ethereum
  5. echo ">>> Starting the script to upload .rb file to homebrew ethereum"
  6. rm -rf homebrew-ethereum
  7. git clone git@github.com:ethereum/homebrew-ethereum.git
  8. cp webthree-umbrella/build/cpp-ethereum.rb homebrew-ethereum
  9. cd homebrew-ethereum
  10. git add . -u
  11. git commit -m "update cpp-ethereum.rb"
  12. git push origin
  13. cd ..
  14. rm -rf homebrew-ethereum
  15. echo ">>> Succesfully uploaded the .rb file to homebrew ethereum"