Sha256: 7a3520262a5c2ee7a373f26996430297a929c5d0bb70edd9d480de83f4c4ac37

Contents?: true

Size: 468 Bytes

Versions: 2

Compression:

Stored size: 468 Bytes

Contents

# frozen_string_literal: true

require 'app_store_connect/jwt/version'

version = AppStoreConnect::JWT::VERSION

desc "Push app_store_connect_jwt-#{version}.gem"
task :push, [:key] do |_task, args|
  args.with_defaults(key: 'rubygems')

  key = args.key.to_sym
  host = {
    rubygems: 'https://rubygems.org',
    github: 'https://rubygems.pkg.github.com/kyledecot'
  }.fetch(key)

  sh %(gem push --key=#{key} --host=#{host} app_store_connect_jwt-#{version}.gem)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
app_store_connect_jwt-0.9.0 lib/tasks/push.rake
app_store_connect_jwt-0.8.0 lib/tasks/push.rake