Sha256: 951021846dff5f2f52750a156bd77451a9726c151fd49536813208b31d979bb8
Contents?: true
Size: 618 Bytes
Versions: 25
Compression:
Stored size: 618 Bytes
Contents
require 'bundler/gem_helper' name = Dir["*.gemspec"].first.sub('.gemspec', '') gem_helper = Bundler::GemHelper.new(Dir.pwd, name) def gem_helper.version_tag "#{name}-#{version}" # override "v#{version}" end version = gem_helper.send(:version) version_tag = gem_helper.version_tag desc "Build #{name}-#{version}.gem into the pkg directory" task('build') { gem_helper.build_gem } desc "Build and install #{name}-#{version}.gem into system gems" task('install') { gem_helper.install_gem } desc "Create tag #{version_tag} build and push #{name}-#{version}.gem to Rubygems" task('release') { gem_helper.release_gem }
Version data entries
25 entries across 25 versions & 8 rubygems