aboutsummaryrefslogtreecommitdiff
path: root/kokoro/release/ruby/macos/build_artifacts.sh
blob: 2d3424b076435d259a3b608e82bd486d8ad407f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

set -ex
  
# change to repo root
cd $(dirname $0)/../../../..

chmod ugo+x ${KOKORO_GFILE_DIR}/use_bazel.sh
${KOKORO_GFILE_DIR}/use_bazel.sh 5.1.1

# all artifacts come here
mkdir artifacts
export ARTIFACT_DIR=$(pwd)/artifacts

# ruby environment
bash kokoro/release/ruby/macos/ruby/ruby_build_environment.sh

# build artifacts
bash kokoro/release/ruby/macos/ruby/ruby_build.sh