diff --git a/publish-brew-formula.sh b/publish-brew-formula.sh index 016841f..15f3583 100755 --- a/publish-brew-formula.sh +++ b/publish-brew-formula.sh @@ -11,9 +11,13 @@ pybrew \ # Pushing to tap git config --global user.email "gkr@tuta.io" git config --global user.name "gkr-bot" +echo "Pulling repo..." git clone https://${BREW_GH_TOKEN}@github.com/gautamkrishnar/homebrew-socli.git brewroot > /dev/null 2>&1 +echo "Generating formula..." cp -fv socli.rb brewroot/Formula cd brewroot git add --all +echo "Committing formula..." git commit -m "Published ${TRAVIS_TAG}" +echo "Pushing formula..." git push -f --quiet \ No newline at end of file