Sha256: c62485df092df013e1b2c99065535facce180fcd06da90e292273c1c90b686b8

Contents?: true

Size: 369 Bytes

Versions: 5

Compression:

Stored size: 369 Bytes

Contents

require "rubygems"
require "yaml"

namespace :trustygems do

  desc "Build and deploy the gem to the appropriate place"
  task :deploy do
    config = YAML.load_file("config/trustygems.yml")
    spec = Gem::Specification::load(config["gemspec"])
    sh "gem build #{config["gemspec"]}"
    sh "#{config["deploy_command"]} #{spec.name}-#{spec.version}.gem"
  end


end

Version data entries

5 entries across 4 versions & 2 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.1.0/gems/trustygems-0.2.1/lib/tasks/trustygems.rake
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/trustygems-0.2.1/lib/tasks/trustygems.rake
trustygems-0.2.1 lib/tasks/trustygems.rake
trustygems-0.2.0 lib/tasks/trustygems.rake
trustygems-0.1.0 lib/tasks/trustygems.rake