Sha256: 97babc9666298f7f0dfa69e9d0a19f6be8648f8c44fa0465361efa8a695aa3b3

Contents?: true

Size: 419 Bytes

Versions: 5

Compression:

Stored size: 419 Bytes

Contents

# frozen_string_literal: true

require 'eufycam/version'

version = Eufycam::VERSION

desc "Release eufycam-#{version}.gem"
task :release, [: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} eufycam-#{version}.gem)
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
eufycam-0.6.0 lib/tasks/release.rake
eufycam-0.5.0 lib/tasks/release.rake
eufycam-0.4.0 lib/tasks/release.rake
eufycam-0.3.0 lib/tasks/release.rake
eufycam-0.2.0 lib/tasks/release.rake