Skip to content

Commit

Permalink
Merge pull request #4899 from xfxyjwf/kokoro
Browse files Browse the repository at this point in the history
Make ruby release configs consistent with protoc.
  • Loading branch information
xfxyjwf committed Jul 12, 2018
2 parents 048f5c2 + 5fa1f6b commit 39aabea
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 19 deletions.
14 changes: 0 additions & 14 deletions kokoro/release/linux/build_artifacts.sh

This file was deleted.

14 changes: 14 additions & 0 deletions kokoro/release/ruby/linux/build_artifacts.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
File renamed without changes.
@@ -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 {
Expand Down
File renamed without changes.
Expand Up @@ -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 {
Expand Down
File renamed without changes.

0 comments on commit 39aabea

Please sign in to comment.