-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
14 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
namespace :release do | ||
desc 'Push all gems to rubygems.org' | ||
# git tag and push tag | ||
# git tag vx.x.x | ||
# git push --follow-tags | ||
# branch into stable vx.x branch | ||
# change version in version.rb | ||
# update changelog | ||
# run rake test | ||
# 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 | ||
|