Skip to content

Commit a4168e4

Browse files
authored
Merge pull request #3438 from cdr/jsjoeio/fix-3407
fix(ci): update brew-bump.sh to update remote first
2 parents 604491d + ed0ddea commit a4168e4

File tree

2 files changed

+47
-7
lines changed

2 files changed

+47
-7
lines changed

CHANGELOG.md

+20-7
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,18 @@
55
- [Changelog](#changelog)
66
- [Next Version](#next-version)
77
- [New Features](#new-features)
8-
- [3.10.1](#3101)
98
- [Bug Fixes](#bug-fixes)
109
- [Documentation](#documentation)
1110
- [Development](#development)
12-
- [3.10.0](#3100)
13-
- [New Features](#new-features-1)
11+
- [3.10.1](#3101)
1412
- [Bug Fixes](#bug-fixes-1)
1513
- [Documentation](#documentation-1)
1614
- [Development](#development-1)
15+
- [3.10.0](#3100)
16+
- [New Features](#new-features-1)
17+
- [Bug Fixes](#bug-fixes-2)
18+
- [Documentation](#documentation-2)
19+
- [Development](#development-2)
1720
- [Previous versions](#previous-versions)
1821

1922
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
@@ -59,8 +62,20 @@ VS Code v1.56.1
5962

6063
### New Features
6164

62-
- feat: support `extraInitContainers` in helm chart values
63-
- feat: change `extraContainers` to support templating in helm chart
65+
- feat: support `extraInitContainers` in helm chart values #3393 @strowk
66+
- feat: change `extraContainers` to support templating in helm chart #3393 @strowk
67+
68+
### Bug Fixes
69+
70+
- fix: use correct command to Open Folder on Welcome page #3437 @jsjoeio
71+
72+
### Documentation
73+
74+
- item
75+
76+
### Development
77+
78+
- fix(ci): update brew-bump.sh to update remote first #3438 @jsjoeio
6479

6580
## 3.10.1
6681

@@ -71,7 +86,6 @@ VS Code v1.56.1
7186
- fix: Check the logged user instead of $USER #3330 @videlanicolas
7287
- fix: Fix broken node_modules.asar symlink in npm package #3355 @code-asher
7388
- fix: Update cloud agent to fix version issue #3342 @oxy
74-
- fix: use correct command to Open Folder on Welcome page #3437 @jsjoeio
7589

7690
### Documentation
7791

@@ -80,7 +94,6 @@ VS Code v1.56.1
8094
- docs(maintaining): add merge strategies section #3379 @jsjoeio
8195
- refactor: move default PR template #3375 @jsjoeio
8296
- docs(contributing): add commits section #3377 @jsjoeio
83-
- docs(maintaining): add process for release managers #3360 @jsjoeio
8497

8598
### Development
8699

ci/steps/brew-bump.sh

+27
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,36 @@ main() {
55
cd "$(dirname "$0")/../.."
66
# Only sourcing this so we get access to $VERSION
77
source ./ci/lib.sh
8+
9+
# NOTE: we need to make sure cdrci/homebrew-core
10+
# is up-to-date
11+
# otherwise, brew bump-formula-pr will use an
12+
# outdated base
13+
echo "Cloning cdrci/homebrew-core"
14+
git clone https://github.com/cdrci/homebrew-core.git
15+
16+
echo "Changing into homebrew-core directory"
17+
cd homebrew-core && pwd
18+
19+
echo "Adding Homebrew/homebrew-core as $(upstream)"
20+
git remote add upstream https://github.com/Homebrew/homebrew-core.git
21+
22+
echo "Fetching upstream commits..."
23+
git fetch upstream
24+
25+
echo "Merging in latest changes"
26+
git merge upstream/master
27+
28+
echo "Pushing changes to cdrci/homebrew-core fork on GitHub"
29+
git push origin master
30+
831
# Find the docs for bump-formula-pr here
932
# https://github.com/Homebrew/brew/blob/master/Library/Homebrew/dev-cmd/bump-formula-pr.rb#L18
1033
brew bump-formula-pr --force --version="${VERSION}" code-server --no-browse --no-audit
34+
35+
# Clean up and remove homebrew-core
36+
cd ..
37+
rm -rf homebrew-core
1138
}
1239

1340
main "$@"

0 commit comments

Comments
 (0)