Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.

Commit 1ec77f4

Browse files
committed
add optional param for oboe version to build_gem_upload... script
1 parent e16b157 commit 1ec77f4

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Rake::TestTask.new do |t|
4646
FileList['test/profiling/*_test.rb'] -
4747
['test/instrumentation/twitter-cassandra_test.rb']
4848
when /instrumentation_mocked/
49-
# WebMock is interfering with other tests, so these have to run seperately
49+
# WebMock is interfering with other tests, so these have to run separately
5050
t.test_files = FileList['test/mocked/*_test.rb']
5151
when /noop/
5252
t.test_files = FileList['test/noop/*_test.rb']

build_gem_upload_to_packagecloud.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
#!/bin/bash
22

3-
# build the gem
4-
./build_gem.sh
3+
# build the gem,
4+
# oboe/c-lib version can be given as optional parameter
5+
if [ "$1" != "" ]; then
6+
OBOE_VERSION=$1 ./build_gem.sh
7+
else
8+
./build_gem.sh
9+
fi
510

611
# save current rbenv setting and switch to 2.4.1 for the package_cloud commands
712
current_ruby=`rbenv global`

0 commit comments

Comments
 (0)