File: release.rake

package info (click to toggle)
ruby-redcloth 4.3.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 708 kB
  • sloc: ruby: 1,233; ansic: 201; makefile: 25
file content (15 lines) | stat: -rw-r--r-- 361 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
namespace :release do
  desc 'Push all gems to rubygems.org'
  # 1. run rake test
  # 2. update changelog
  # 3. change version in version.rb
  # 4. branch into stable vx.x branch
  # 5. git tag and push tag
  # 5.1. git tag vx.x.x
  # 5.2. git push --follow-tags

  task :gem do
    sh("gem build redcloth.gemspec")
    sh("gem push RedCloth-*.gem")
  end
end