Archived
1
0

fix: update git push to cdrci repo in brew-bump

This commit is contained in:
Joe Previte
2021-05-24 16:47:55 -07:00
parent 05197d5213
commit 808daa44e1
2 changed files with 8 additions and 1 deletions

View File

@ -26,7 +26,10 @@ main() {
git merge upstream/master
echo "Pushing changes to cdrci/homebrew-core fork on GitHub"
git push origin master
# Source: https://serverfault.com/a/912788
# shellcheck disable=SC2016,SC2028
echo '#!/bin/sh\nexec echo "$HOMEBREW_GITHUB_API_TOKEN"' >"$HOME"/.git-askpass.sh
GIT_ASKPASS="$HOME/.git-askpass.sh" git push https://cdrci@github.com/cdrci/homebrew-core.git --all
# Find the docs for bump-formula-pr here
# https://github.com/Homebrew/brew/blob/master/Library/Homebrew/dev-cmd/bump-formula-pr.rb#L18