Sha256: e1b8ea1aa7e277479c16415b847eff8b8b28600edf8cdd54deb33417d3ba6e15

Contents?: true

Size: 734 Bytes

Versions: 14

Compression:

Stored size: 734 Bytes

Contents

# encoding: UTF-8

require 'rake'
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'biblicit'

RSpec::Core::RakeTask.new :spec

desc "Tag #{Bundler::GemHelper.new.send(:version_tag)}, build and push to gemfury"
task :release_internal do |t|
  require 'gemfury'

  class ReleaseInternalGem < Bundler::GemHelper
    def release_gem
      guard_clean
      built_gem_path = build_gem
      if Bundler::VERSION =~ /1\.3\.\d/
        tag_version { git_push } unless already_tagged?
      else
        guard_already_tagged
        tag_version { git_push }
      end
      `fury push #{built_gem_path}`
      Bundler.ui.confirm "Pushed #{name} #{version} to gemfury"
    end
  end

  ReleaseInternalGem.new.release_gem
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
biblicit-2.3.2 Rakefile
biblicit-2.3.1 Rakefile
biblicit-2.3.0 Rakefile
biblicit-2.2.3 Rakefile
biblicit-2.2.2 Rakefile
biblicit-2.2.1 Rakefile
biblicit-2.2.0 Rakefile
biblicit-2.1.0 Rakefile
biblicit-2.0.8 Rakefile
biblicit-2.0.7 Rakefile
biblicit-2.0.6 Rakefile
biblicit-2.0.5 Rakefile
biblicit-2.0.4 Rakefile
biblicit-2.0.3 Rakefile