File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import path from 'node:path';
33
44import simpleGit from 'simple-git' ;
55
6+ const __dirname = import . meta. dirname ;
67const maxCommitsInChangelog = 400 ;
78
89let results = '' ;
Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ js_protocol_url="https://chromium.googlesource.com/v8/v8.git/+/${v8_revision}/in
3131
3232if curl --output /dev/null --silent --head --fail " $browser_protocol_domains_url " ; then
3333 # the 4th column is the file name in the folder (e.g., DOM.pdl).
34- domains=$( curl --silent " ${browser_protocol_domains_url} " | base64 --decode | grep .pdl | awk " {print $4 }" )
34+ domains=$( curl --silent " ${browser_protocol_domains_url} " | base64 --decode | grep .pdl | awk " {print \$ 4}" )
35+ mkdir -p pdl/domains
3536 for domain in $domains ; do
3637 browser_protocol_domain_url=" https://chromium.googlesource.com/chromium/src.git/+/${commit_sha} /third_party/blink/public/devtools_protocol/domains/$domain ?format=TEXT"
3738 curl --silent " ${browser_protocol_domain_url} " | base64 --decode > pdl/domains/$domain
@@ -56,11 +57,8 @@ git --no-pager diff
5657if ! git diff --no-ext-diff --quiet --exit-code; then
5758 # dirty repo, ready to commit.
5859
59- git config user.name ' DevTools Bot'
60- git config user.email
' [email protected] ' 61-
6260 # commit so we can use the new commit in the changelog
63- git commit --all -m " Roll protocol to r$commit_rev "
61+ git commit --all -m
" Roll protocol to r$commit_rev " --author " DevTools Bot <[email protected] > " 6462
6563 # generate changelog
6664 cd " $protocol_repo_path /scripts" || exit 1
You can’t perform that action at this time.
0 commit comments