From 3de199988fb6295ed7c37d50f9cbf4025dfca088 Mon Sep 17 00:00:00 2001 From: Yves Senn Date: Wed, 18 Dec 2013 08:56:19 +0100 Subject: we should use annotated tags for releases. Annotated tags will provide us with Tagger and Time information. --- RELEASING_RAILS.rdoc | 2 +- tasks/release.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RELEASING_RAILS.rdoc b/RELEASING_RAILS.rdoc index aafbd25486..af3ddade33 100644 --- a/RELEASING_RAILS.rdoc +++ b/RELEASING_RAILS.rdoc @@ -110,7 +110,7 @@ what to do in case anything goes wrong: $ rake all:build $ git commit -am'updating RAILS_VERSION' - $ git tag -m'tagging rc release' v3.0.10.rc1 + $ git tag -a -m'tagging rc release' v3.0.10.rc1 $ git push $ git push --tags $ for i in $(ls pkg); do gem push $i; done diff --git a/tasks/release.rb b/tasks/release.rb index 8aceda1ec3..c4065b7732 100644 --- a/tasks/release.rb +++ b/tasks/release.rb @@ -120,7 +120,7 @@ namespace :all do end task :tag do - sh "git tag #{tag}" + sh "git tag -a #{tag}" sh "git push --tags" end -- cgit v1.2.3