Make ruby release configs consistent with protoc.
This commit is contained in:
parent
82019f90ff
commit
e529d16283
@ -1,14 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
# change to repo root
|
||||
cd $(dirname $0)/../../..
|
||||
|
||||
source kokoro/release/linux/prepare_build.sh
|
||||
|
||||
# ruby environment
|
||||
source kokoro/release/linux/ruby/ruby_build_environment.sh
|
||||
|
||||
# build artifacts
|
||||
bash kokoro/release/linux/ruby/ruby_build.sh
|
14
kokoro/release/ruby/linux/build_artifacts.sh
Executable file
14
kokoro/release/ruby/linux/build_artifacts.sh
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
# change to repo root
|
||||
cd $(dirname $0)/../../../..
|
||||
|
||||
source kokoro/release/ruby/linux/prepare_build.sh
|
||||
|
||||
# ruby environment
|
||||
source kokoro/release/ruby/linux/ruby/ruby_build_environment.sh
|
||||
|
||||
# build artifacts
|
||||
bash kokoro/release/ruby/linux/ruby/ruby_build.sh
|
@ -1,5 +1,5 @@
|
||||
# Configuration for Linux release builds
|
||||
build_file: "protobuf/kokoro/release/linux/build_artifacts.sh"
|
||||
build_file: "protobuf/kokoro/release/ruby/linux/build_artifacts.sh"
|
||||
|
||||
action {
|
||||
define_artifacts {
|
@ -3,17 +3,17 @@
|
||||
set -ex
|
||||
|
||||
# change to repo root
|
||||
cd $(dirname $0)/../../..
|
||||
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
|
||||
bash kokoro/release/ruby/macos/ruby/ruby_build_environment.sh
|
||||
|
||||
gem install rubygems-update
|
||||
update_rubygems
|
||||
|
||||
# build artifacts
|
||||
bash kokoro/release/macos/ruby/ruby_build.sh
|
||||
bash kokoro/release/ruby/macos/ruby/ruby_build.sh
|
@ -1,5 +1,5 @@
|
||||
# Configuration for Mac OSX release builds
|
||||
build_file: "protobuf/kokoro/release/macos/build_artifacts.sh"
|
||||
build_file: "protobuf/kokoro/release/ruby/macos/build_artifacts.sh"
|
||||
|
||||
action {
|
||||
define_artifacts {
|
Loading…
Reference in New Issue
Block a user