File tree 6 files changed +29
-3
lines changed
6 files changed +29
-3
lines changed Original file line number Diff line number Diff line change 38
38
with :
39
39
path : " **/node_modules"
40
40
key : yarn-build-${{ hashFiles('**/yarn.lock') }}
41
+ restore-keys : |
42
+ yarn-build-
41
43
42
44
- name : Install dependencies
43
45
if : steps.cache-yarn.outputs.cache-hit != 'true'
78
80
with :
79
81
path : " **/node_modules"
80
82
key : yarn-build-${{ hashFiles('**/yarn.lock') }}
83
+ restore-keys : |
84
+ yarn-build-
81
85
82
86
- name : Install dependencies
83
87
if : steps.cache-yarn.outputs.cache-hit != 'true'
@@ -107,6 +111,8 @@ jobs:
107
111
with :
108
112
path : " **/node_modules"
109
113
key : yarn-build-${{ hashFiles('**/yarn.lock') }}
114
+ restore-keys : |
115
+ yarn-build-
110
116
111
117
- name : Install dependencies
112
118
if : steps.cache-yarn.outputs.cache-hit != 'true'
@@ -347,6 +353,8 @@ jobs:
347
353
with :
348
354
path : " **/node_modules"
349
355
key : yarn-build-${{ hashFiles('**/yarn.lock') }}
356
+ restore-keys : |
357
+ yarn-build-
350
358
351
359
- name : Download release packages
352
360
uses : actions/download-artifact@v2
Original file line number Diff line number Diff line change 42
42
needs : npm
43
43
runs-on : macos-latest
44
44
steps :
45
+ # Ensure things are up to date
46
+ # Suggested by homebrew maintainers
47
+ # https://github.com/Homebrew/discussions/discussions/1532#discussioncomment-782633
48
+ - name : Set up Homebrew
49
+ id : set-up-homebrew
50
+ uses : Homebrew/actions/setup-homebrew@master
51
+
45
52
- uses : actions/checkout@v2
46
53
- name : Configure git
47
54
run : |
Original file line number Diff line number Diff line change @@ -58,6 +58,10 @@ VS Code v0.00.0
58
58
- chore: cross-compile docker images with buildx #3166 @oxy
59
59
- chore: update node to v14 #3458 @oxy
60
60
61
+ ### Development
62
+
63
+ - fix(publish): update cdrci fork in brew-bump.sh #3468 @jsjoeio
64
+
61
65
## 3.10.2
62
66
63
67
VS Code v1.56.1
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ main() {
75
75
76
76
# This is a copy of symlink_asar in ../lib.sh. Look there for details.
77
77
symlink_asar () {
78
- rm -f node_modules.asar
78
+ rm -rf node_modules.asar
79
79
if [ " ${WINDIR-} " ]; then
80
80
mklink /J node_modules.asar node_modules
81
81
else
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ RELEASE_PATH="${RELEASE_PATH-release}"
113
113
# Code itself but also extensions will look specifically in this directory for
114
114
# files (like the ripgrep binary or the oniguruma wasm).
115
115
symlink_asar () {
116
- rm -f node_modules.asar
116
+ rm -rf node_modules.asar
117
117
if [ " ${WINDIR-} " ]; then
118
118
# mklink takes the link name first.
119
119
mklink /J node_modules.asar node_modules
Original file line number Diff line number Diff line change @@ -26,7 +26,14 @@ main() {
26
26
git merge upstream/master
27
27
28
28
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
+ # Ensure it's executable since we just created it
33
+ chmod +x " $HOME /.git-askpass.sh"
34
+ # GIT_ASKPASS lets us use the password when pushing without revealing it in the process list
35
+ # See: https://serverfault.com/a/912788
36
+ GIT_ASKPASS=
" $HOME /.git-askpass.sh" git push https://
[email protected] /cdr-oss/homebrew-core.git --all
30
37
31
38
# Find the docs for bump-formula-pr here
32
39
# https://github.com/Homebrew/brew/blob/master/Library/Homebrew/dev-cmd/bump-formula-pr.rb#L18
You can’t perform that action at this time.
0 commit comments