diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-12-18 08:56:19 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-12-18 08:57:46 +0100 |
commit | 3de199988fb6295ed7c37d50f9cbf4025dfca088 (patch) | |
tree | d8671592a737adbf6494e42a8caf0d292de10c23 | |
parent | 76f8d310468db4d1249b357ee67cb9ca0011fd60 (diff) | |
download | rails-3de199988fb6295ed7c37d50f9cbf4025dfca088.tar.gz rails-3de199988fb6295ed7c37d50f9cbf4025dfca088.tar.bz2 rails-3de199988fb6295ed7c37d50f9cbf4025dfca088.zip |
we should use annotated tags for releases.
Annotated tags will provide us with Tagger and Time information.
-rw-r--r-- | RELEASING_RAILS.rdoc | 2 | ||||
-rw-r--r-- | 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 |