diff options
author | Feng Xiao <xfxyjwf@gmail.com> | 2018-07-11 16:25:55 -0700 |
---|---|---|
committer | Feng Xiao <xfxyjwf@gmail.com> | 2018-07-11 18:09:37 -0700 |
commit | e529d162838f747362c123ec10e87ebe3970c677 (patch) | |
tree | a92f5abb10a6ae1ec4108d5c98e2e3f528e3696e /kokoro/release/ruby/macos/build_artifacts.sh | |
parent | 82019f90fff5c44477f91084c84b24989a93df7a (diff) | |
download | protobuf-e529d162838f747362c123ec10e87ebe3970c677.tar.gz protobuf-e529d162838f747362c123ec10e87ebe3970c677.tar.bz2 protobuf-e529d162838f747362c123ec10e87ebe3970c677.zip |
Make ruby release configs consistent with protoc.
Diffstat (limited to 'kokoro/release/ruby/macos/build_artifacts.sh')
-rwxr-xr-x | kokoro/release/ruby/macos/build_artifacts.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/kokoro/release/ruby/macos/build_artifacts.sh b/kokoro/release/ruby/macos/build_artifacts.sh new file mode 100755 index 00000000..c68b63cc --- /dev/null +++ b/kokoro/release/ruby/macos/build_artifacts.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +set -ex + +# change to repo root +cd $(dirname $0)/../../../.. + +# all artifacts come here +mkdir artifacts +export ARTIFACT_DIR=$(pwd)/artifacts + +# ruby environment +bash kokoro/release/ruby/macos/ruby/ruby_build_environment.sh + +gem install rubygems-update +update_rubygems + +# build artifacts +bash kokoro/release/ruby/macos/ruby/ruby_build.sh |