Sha256: 3dc162f5fb5b617538846e0f996f8fd69ff242a5ce5417015ceb83f7c79df432

Contents?: true

Size: 450 Bytes

Versions: 4

Compression:

Stored size: 450 Bytes

Contents

# frozen_string_literal: true

require 'app_store_dev_api/version'

version = AppStoreDevApi::VERSION

desc "Push app_store_dev_api-#{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_dev_api-#{version}.gem)
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
app_store_dev_api-0.1.9 lib/tasks/push.rake
app_store_dev_api-0.1.8 lib/tasks/push.rake
app_store_dev_api-0.1.7 lib/tasks/push.rake
app_store_dev_api-0.1.6 lib/tasks/push.rake