From 713c1715747440a8b3ce7312c7ebe271572eb65c Mon Sep 17 00:00:00 2001 From: Alexander Fenster Date: Tue, 26 Apr 2022 14:18:59 -0700 Subject: [PATCH] fix: protobuf moved to main branch --- tools/prepublish.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/prepublish.ts b/tools/prepublish.ts index 75120ca..85d93e7 100644 --- a/tools/prepublish.ts +++ b/tools/prepublish.ts @@ -60,12 +60,12 @@ async function main() { } ); - await extractAsync('https://github.com/google/protobuf/archive/master.zip', { + await extractAsync('https://github.com/google/protobuf/archive/main.zip', { strip: 2, filter: file => { return ( - file.parent.indexOf('protobuf-master') === 0 && - file.parent.indexOf('protobuf-master/src/') === 0 && + file.parent.indexOf('protobuf-main') === 0 && + file.parent.indexOf('protobuf-main/src/') === 0 && file.parent.indexOf('/internal') === -1 && file.filename.indexOf('unittest') === -1 && file.filename.indexOf('test') === -1