Skip to content

Commit

Permalink
Merge pull request #3 from solarwinds/package-workflow
Browse files Browse the repository at this point in the history
NH-55892: Package workflow
  • Loading branch information
xuan-cao-swi authored Jan 3, 2024
2 parents 919541e + c3e4c64 commit d6721e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/script/sw_build_and_push_gem.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

set -e

GEM_NAME="$1"

cd "instrumentation/$GEM_NAME" || exit 1
Expand All @@ -17,5 +19,4 @@ gem_version=$(grep -E "VERSION\s*=\s*'[^']+'" "$found_file" | awk -F "'" '{print
gem build "opentelemetry-instrumentation-$GEM_NAME.gemspec"
gem push --key github --host https://rubygems.pkg.github.com/solarwinds "opentelemetry-instrumentation-$GEM_NAME-$gem_version.gem"

# finished
echo "Finished"

0 comments on commit d6721e6

Please sign in to comment.