Skip to content

Commit f64c2d9

Browse files
build: Pin the protobuf library to v27. Unblocks the release and pinning prevents further breaking changes introduced in protobuf (#2063)
Pin the protobuf library to v27. Unblocks the release and pinning prevents further breaking changes introduced in protobuf
1 parent e581271 commit f64c2d9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dev/protos/update.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ pushd "$WORK_DIR"
4242

4343
# Clone necessary git repos.
4444
git clone --depth 1 https://github.com/googleapis/googleapis.git
45-
git clone --depth 1 https://github.com/google/protobuf.git
45+
# Protobuf may have breaking changes, so it will be pinned to a specific release.
46+
# TODO(version) nodejs-firestore should maintain the version number of protobuf manually
47+
git clone --single-branch --branch v27.0 --depth 1 https://github.com/google/protobuf.git
4648

4749
# Copy necessary protos.
4850
mkdir -p "${PROTOS_DIR}/google/api"

0 commit comments

Comments
 (0)