Automate homebrew package updates using Travis CI

This commit is contained in:
timvisee 2019-03-23 17:48:27 +01:00
parent fdbdec0722
commit d1571ac57f
No known key found for this signature in database
GPG key ID: B8DB720BC383E172

View file

@ -38,3 +38,8 @@ jobs:
# Create the release, upload binary
- ./github-release release --token "$GITHUB_TOKEN" --owner timvisee --repo ffsend --tag "$TRAVIS_TAG" --title "ffsend $TRAVIS_TAG"
- ./github-release upload --token "$GITHUB_TOKEN" --owner timvisee --repo ffsend --tag "$TRAVIS_TAG" --file ./ffsend --name ffsend-$TRAVIS_TAG-macos
# Update homebrew package
- git config --global user.name "timvisee"
- git config --global user.email "$GIT_EMAIL"
- brew bump-formula-pr --url="https://github.com/timvisee/ffsend/archive/$TRAVIS_TAG.tar.gz" --message="Automated release pull request using continuous integration." --no-browse -v ffsend