Skip to content

Commit e756a2f

Browse files
committed
fix: update git push to cdrci repo in brew-bump
1 parent 54aea3f commit e756a2f

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ VS Code v0.00.0
5757
- chore: cross-compile docker images with buildx #3166 @oxy
5858
- chore: update node to v14 #3458 @oxy
5959

60+
### Development
61+
62+
- fix(publish): update cdrci fork in brew-bump.sh #3468 @jsjoeio
63+
6064
## 3.10.2
6165

6266
VS Code v1.56.1

ci/steps/brew-bump.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ main() {
2626
git merge upstream/master
2727

2828
echo "Pushing changes to cdrci/homebrew-core fork on GitHub"
29-
git push origin master
29+
# Source: https://serverfault.com/a/912788
30+
# shellcheck disable=SC2016,SC2028
31+
echo '#!/bin/sh\nexec echo "$HOMEBREW_GITHUB_API_TOKEN"' >"$HOME"/.git-askpass.sh
32+
GIT_ASKPASS="$HOME/.git-askpass.sh" git push https://[email protected]/cdrci/homebrew-core.git --all
3033

3134
# Find the docs for bump-formula-pr here
3235
# https://github.com/Homebrew/brew/blob/master/Library/Homebrew/dev-cmd/bump-formula-pr.rb#L18

0 commit comments

Comments
 (0)