Sha256: 87ea539acfe6e1237bed3aa5d4921792cfb930eac878837a9c2da55efad574f7
Contents?: true
Size: 529 Bytes
Versions: 2
Compression:
Stored size: 529 Bytes
Contents
require "bundler/gem_tasks" Dir.chdir File.dirname(__FILE__) gemspec = Bundler.load_gemspec Dir["{,*}.gemspec"].first task :release => :prepare_for_release task :prepare_for_release do readme = File.read('README.yard.md') readme.gsub! /{([[:alnum:]:]+)}/i do |match| %Q|[#{$1}](http://rubydoc.info/gems/#{gemspec.name}/#{gemspec.version}/#{$1.gsub '::', '/'})| end File.open('README.md', 'w') do |f| f.write readme end %x|git add README.md| #%x|git commit -m "Bump version to #{gemspec.version}."| end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
heimdallr-1.0.0.RC2 | Rakefile |
heimdallr-0.0.2 | Rakefile |