Use annotated git tags for release task

This commit is contained in:
Jeremy Kemper 2013-12-18 00:59:20 -07:00
parent 3de199988f
commit 092e113df5
2 changed files with 2 additions and 2 deletions

View File

@ -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 File

@ -120,7 +120,7 @@ namespace :all do
end
task :tag do
sh "git tag -a #{tag}"
sh "git tag -m '#{tag} release' #{tag}"
sh "git push --tags"
end