1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-25 19:21:08 +00:00

build: Reset homebrew/core before bumping formula

This commit is contained in:
Matan Kushner 2019-12-13 15:09:57 -05:00
parent 16ddd6b31d
commit ba18e1a089
No known key found for this signature in database
GPG Key ID: 4B98C3A8949CA8A4

View File

@ -198,6 +198,12 @@ jobs:
git config --global credential.helper store
git config --global user.name "Starship Bot"
git config --global user.email "bot@starship.rs"
cd $(brew --repo homebrew/core)
git fetch origin
sudo git reset --hard origin/master
cd -
brew bump-formula-pr --url=https://github.com/starship/starship/archive/$(git describe --tags).tar.gz --message="Automated release pull request using continuous integration." --no-browse -v starship --force
env:
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}