Skip to content

Commit a8b9121

Browse files
fix: protobuf moved to main branch (#426)
...glad we have tests that caught it :)
1 parent c8df19d commit a8b9121

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/prepublish.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ async function main() {
6060
}
6161
);
6262

63-
await extractAsync('https://github.com/google/protobuf/archive/master.zip', {
63+
await extractAsync('https://github.com/google/protobuf/archive/main.zip', {
6464
strip: 2,
6565
filter: file => {
6666
return (
67-
file.parent.indexOf('protobuf-master') === 0 &&
68-
file.parent.indexOf('protobuf-master/src/') === 0 &&
67+
file.parent.indexOf('protobuf-main') === 0 &&
68+
file.parent.indexOf('protobuf-main/src/') === 0 &&
6969
file.parent.indexOf('/internal') === -1 &&
7070
file.filename.indexOf('unittest') === -1 &&
7171
file.filename.indexOf('test') === -1

0 commit comments

Comments
 (0)