浏览代码

Merge pull request #4922 from xfxyjwf/release2

Run autogen.sh in release script.
Feng Xiao 7 年之前
父节点
当前提交
ba40b4b8f2
共有 1 个文件被更改,包括 6 次插入0 次删除
  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.
 cd $(dirname $0)/../../../..
 
+# Initialize any submodules.
+git submodule update --init --recursive
+
+# Generate the configure script.
+./autogen.sh
+
 # Use docker image to build linux artifacts.
 DOCKER_IMAGE_NAME=protobuf/protoc_$(sha1sum protoc-artifacts/Dockerfile | cut -f1 -d " ")
 docker pull $DOCKER_IMAGE_NAME