Make ruby release configs consistent with protoc.

pull/4899/head
Feng Xiao 6 years ago
parent 048f5c26a7
commit 5fa1f6b2e9
  1. 14
      kokoro/release/linux/build_artifacts.sh
  2. 14
      kokoro/release/ruby/linux/build_artifacts.sh
  3. 0
      kokoro/release/ruby/linux/prepare_build.sh
  4. 2
      kokoro/release/ruby/linux/release.cfg
  5. 0
      kokoro/release/ruby/linux/ruby/ruby_build.sh
  6. 0
      kokoro/release/ruby/linux/ruby/ruby_build_environment.sh
  7. 6
      kokoro/release/ruby/macos/build_artifacts.sh
  8. 2
      kokoro/release/ruby/macos/release.cfg
  9. 0
      kokoro/release/ruby/macos/ruby/ruby_build.sh
  10. 0
      kokoro/release/ruby/macos/ruby/ruby_build_environment.sh

@ -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

@ -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 # 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 { action {
define_artifacts { define_artifacts {

@ -3,17 +3,17 @@
set -ex set -ex
# change to repo root # change to repo root
cd $(dirname $0)/../../.. cd $(dirname $0)/../../../..
# all artifacts come here # all artifacts come here
mkdir artifacts mkdir artifacts
export ARTIFACT_DIR=$(pwd)/artifacts export ARTIFACT_DIR=$(pwd)/artifacts
# ruby environment # 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 gem install rubygems-update
update_rubygems update_rubygems
# build artifacts # 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 # 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 { action {
define_artifacts { define_artifacts {
Loading…
Cancel
Save