generate_formulae.brew.sh_data: fetch/rebase when needed.
Similar change to https://github.com/Homebrew/brew/pull/6791.
This commit is contained in:
parent
534435aa51
commit
9068085dd2
1 changed files with 2 additions and 0 deletions
|
@ -37,6 +37,8 @@ jobs:
|
|||
|
||||
if ! git diff --exit-code HEAD -- _data/analytics _data/formula api/formula formula cask; then
|
||||
git commit -m "formula: update from ${GITHUB_REPOSITORY} push" _data/analytics _data/formula api/formula formula
|
||||
git fetch
|
||||
git rebase origin/master
|
||||
git push
|
||||
fi
|
||||
env:
|
||||
|
|
Loading…
Reference in a new issue