Permalink
Browse files

Use annotated git tags for release task

  • Loading branch information...
jeremy committed Dec 18, 2013
1 parent 3de1999 commit 092e113df59fe20ec95b0af3ddbe69c524f6bbba
Showing with 2 additions and 2 deletions.
  1. +1 −1 RELEASING_RAILS.rdoc
  2. +1 −1 tasks/release.rb
View
@@ -110,7 +110,7 @@ what to do in case anything goes wrong:
$ rake all:build
$ git commit -am'updating RAILS_VERSION'
- $ git tag -a -m'tagging rc release' v3.0.10.rc1
+ $ git tag -m 'v3.0.10.rc1 release' v3.0.10.rc1
$ git push
$ git push --tags
$ for i in $(ls pkg); do gem push $i; done
View
@@ -120,7 +120,7 @@
end
task :tag do
- sh "git tag -a #{tag}"
+ sh "git tag -m '#{tag} release' #{tag}"
sh "git push --tags"
end

0 comments on commit 092e113

Please sign in to comment.