Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make ruby release configs consistent with protoc. #4899

Merged
merged 1 commit into from
Jul 12, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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