diff options
author | Paul Yang <TeBoring@users.noreply.github.com> | 2018-06-22 10:26:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-22 10:26:17 -0700 |
commit | b907a03185a3267a3ce0e4456aabf32dcfc54049 (patch) | |
tree | 9793c20648b7e9535522c84bb233aa53a41d75b9 /kokoro/release/macos/build_artifacts.sh | |
parent | ad85c3b4a2598670de129015fab03a97edea73bc (diff) |
Add files to build ruby artifact for mac on kokoro (#4814)
* Add files to build ruby artifact for mac on kokoro
* Move ruby specific stuff to ruby dir
Diffstat (limited to 'kokoro/release/macos/build_artifacts.sh')
-rwxr-xr-x | kokoro/release/macos/build_artifacts.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/kokoro/release/macos/build_artifacts.sh b/kokoro/release/macos/build_artifacts.sh new file mode 100755 index 00000000..23135ca3 --- /dev/null +++ b/kokoro/release/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/macos/ruby/ruby_build_environment.sh + +gem install rubygems-update +update_rubygems + +# build artifacts +bash kokoro/release/macos/ruby/ruby_build.sh |