Skip to content

Commit 4a39b30

Browse files
Merge pull request #3121 from newrelic/dev
Release 9.18.0
2 parents c48176d + cbc7a46 commit 4a39b30

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525

2626
- name: Configure gem credentials
2727
run: |
28+
echo "GEM_HOST_API_KEY=${{ secrets.RUBYGEMS_API_KEY }}" >> $GITHUB_ENV
2829
echo "RUBYGEMS_MFA_KEY=${{ secrets.RUBYGEMS_MFA_KEY }}" >> $GITHUB_ENV
2930
3031
- name: Build newrelic_rpm gem

.github/workflows/scripts/rubygems-publish.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
gem_name = ARGV[0]
33
raise "gem name sans version must be supplied" if gem_name.to_s == ""
44

5+
api_key = ENV["GEM_HOST_API_KEY"]
6+
raise "GEM_HOST_API_KEY must be set" if api_key.to_s == ""
7+
58
version = ENV["VERSION"]
69
raise "VERSION environment must be set" if version.to_s == ""
710

0 commit comments

Comments
 (0)