Skip to content
This repository was archived by the owner on Jun 29, 2023. It is now read-only.

Commit bc22ce3

Browse files
committed
Publish to RubyGems
1 parent c280177 commit bc22ce3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ jobs:
3434
if: github.ref == 'refs/heads/master'
3535
env:
3636
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37-
- name: push tagged gem to github packages
37+
- name: push tagged gem to rubygems
3838
if: startsWith(github.ref, 'refs/tags/')
3939
run: |
4040
export VERSION=${GITHUB_REF##*/v}
41-
echo ":github: Bearer ${{ secrets.GITHUB_TOKEN }}" > $HOME/.gem/credentials
41+
echo ":rubygems_api_key: ${{ secrets.RUBYGEMS_API_KEY }}" > $HOME/.gem/credentials
4242
chmod 600 $HOME/.gem/credentials
43-
gem push --key github --host https://rubygems.pkg.github.com/LiveRamp kube_deploy_tools-${VERSION}.gem
43+
gem push kube_deploy_tools-${VERSION}.gem
4444
env:
45-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45+
GITHUB_TOKEN: ${{ secrets.RUBYGEMS_API_KEY }}

kube_deploy_tools.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ Gem::Specification.new do |gem|
77
gem.date = Date.today.to_s
88

99
gem.summary = "Kubernetes Deploy Tools"
10-
gem.description = "Kubernetes deploy tools for LiveRamp"
10+
gem.description = "Tools used by LiveRamp to facilitate generation, packaging, and deployment of Docker images and Kubernetes manifests."
1111

1212
gem.authors = ['ops']
1313
gem.email = 'ops@liveramp.com'
1414
gem.homepage = 'https://github.com/LiveRamp/kube_deploy_tools'
15-
gem.license = 'MIT'
15+
gem.license = 'Apache-2.0'
1616

1717
gem.required_ruby_version = '>= 2.5'
1818

0 commit comments

Comments
 (0)