Browse Source

Merge pull request #4922 from xfxyjwf/release2

Run autogen.sh in release script.
Feng Xiao 7 years ago
parent
commit
ba40b4b8f2
1 changed files with 6 additions and 0 deletions
  1. 6 0
      kokoro/release/protoc/linux/build.sh

+ 6 - 0
kokoro/release/protoc/linux/build.sh

@@ -5,6 +5,12 @@ set -x
 # Change to repo root.
 # Change to repo root.
 cd $(dirname $0)/../../../..
 cd $(dirname $0)/../../../..
 
 
+# Initialize any submodules.
+git submodule update --init --recursive
+
+# Generate the configure script.
+./autogen.sh
+
 # Use docker image to build linux artifacts.
 # Use docker image to build linux artifacts.
 DOCKER_IMAGE_NAME=protobuf/protoc_$(sha1sum protoc-artifacts/Dockerfile | cut -f1 -d " ")
 DOCKER_IMAGE_NAME=protobuf/protoc_$(sha1sum protoc-artifacts/Dockerfile | cut -f1 -d " ")
 docker pull $DOCKER_IMAGE_NAME
 docker pull $DOCKER_IMAGE_NAME