Skip to content

Commit

Permalink
Merge pull request #34 from mitre/updatePackageAction
Browse files Browse the repository at this point in the history
  • Loading branch information
camdenmoors authored Jan 20, 2022
2 parents 0dccba8 + b2e4e3c commit 6d878ef
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
run: |
gem push --KEY rubygems --host https://rubygems.org *.gem
gem push --KEY rubygems --host https://rubygems.org emass_client/ruby_client/*.gem
# - name: Publish to GPR
# run: |
# gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
# gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emass_client/ruby_client/*.gem
# env:
# OWNER: mitre
- name: Publish to GPR
run: |
gem push --KEY github --host https://rubygems.pkg.github.com/mitre *.gem
gem push --KEY github --host https://rubygems.pkg.github.com/mitre emass_client/ruby_client/*.gem
env:
OWNER: mitre
2 changes: 2 additions & 0 deletions emass_client/ruby_client/emass_client.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ Gem::Specification.new do |s|
s.license = "Unlicense"
s.required_ruby_version = ">= 1.9"

s.metadata = { "github_repo" => "ssh://github.com/mitre/emasser" }

s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'

Expand Down
6 changes: 4 additions & 2 deletions emasser.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ Gem::Specification.new do |spec|
spec.name = 'emasser'
spec.version = Emasser::VERSION
spec.authors = ['Amndeep Singh Mann', 'George Dias', 'Kyle Fagan', 'Robert Clark', 'Aaron Lippold']
spec.email = ['[email protected]']
spec.email = ['saf@groups.mitre.org']
spec.licenses = ['Apache-2.0']

spec.summary = 'Provide an automated capability for invoving eMASS API endpoints'
spec.description = 'emasser can be used as a gem or used from the command line to access eMASS via thei API.'
spec.description = 'emasser can be used as a gem or used from the command line (CL) to access eMASS endpoints via their API.'
spec.homepage = 'https://saf.mitre.org'
spec.required_ruby_version = Gem::Requirement.new('~> 2.5')

Expand All @@ -21,6 +21,8 @@ Gem::Specification.new do |spec|
end
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
# References: https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-rubygems-registry
spec.metadata = { "github_repo" => "ssh://github.com/mitre/emasser" }

spec.add_runtime_dependency 'activesupport', '~> 6.1.4'
spec.add_runtime_dependency 'colorize', '~> 0.8.1'
Expand Down

0 comments on commit 6d878ef

Please sign in to comment.