Skip to content

Commit 6305d5e

Browse files
committed
fix: update git push to cdrci repo in brew-bump
1 parent 66cabab commit 6305d5e

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

CHANGELOG.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,20 @@
55
- [Changelog](#changelog)
66
- [Next Version](#next-version)
77
- [Documentation](#documentation)
8+
- [Development](#development)
89
- [3.10.2](#3102)
910
- [New Features](#new-features)
1011
- [Bug Fixes](#bug-fixes)
11-
- [Development](#development)
12+
- [Development](#development-1)
1213
- [3.10.1](#3101)
1314
- [Bug Fixes](#bug-fixes-1)
1415
- [Documentation](#documentation-1)
15-
- [Development](#development-1)
16+
- [Development](#development-2)
1617
- [3.10.0](#3100)
1718
- [New Features](#new-features-1)
1819
- [Bug Fixes](#bug-fixes-2)
1920
- [Documentation](#documentation-2)
20-
- [Development](#development-2)
21+
- [Development](#development-3)
2122
- [Previous versions](#previous-versions)
2223

2324
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
@@ -65,6 +66,10 @@ VS Code v0.00.0
6566

6667
- docs: fix confusing sentence in pull requests section #3460 @shiv-tyagi
6768

69+
### Development
70+
71+
- fix(publish): update cdrci fork in brew-bump.sh #3468 @jsjoeio
72+
6873
## 3.10.2
6974

7075
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)