buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject [4/6] git commit: Make sure the tag action works as expected
Date Mon, 05 May 2014 10:32:24 GMT
Make sure the tag action works as expected


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/7efb8e8e
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/7efb8e8e
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/7efb8e8e

Branch: refs/heads/master
Commit: 7efb8e8e03372c898f5be39df9ae0f26f1f1f811
Parents: 6fd671f
Author: Peter Donald <peter@realityforge.org>
Authored: Mon May 5 20:28:21 2014 +1000
Committer: Peter Donald <peter@realityforge.org>
Committed: Mon May 5 20:28:21 2014 +1000

----------------------------------------------------------------------
 rakelib/release.rake | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/7efb8e8e/rakelib/release.rake
----------------------------------------------------------------------
diff --git a/rakelib/release.rake b/rakelib/release.rake
index 3d33925..3347e92 100644
--- a/rakelib/release.rake
+++ b/rakelib/release.rake
@@ -86,12 +86,12 @@ task 'release' => %w{setup-local-site-svn} do
   lambda do
     version = `git describe --tags --always`.strip
     unless version == spec.version
-      sh 'git', 'tag', '-m', "Release #{spec.version}" do |ok, res|
+      sh 'git', 'tag', '-m', "'Release #{spec.version}'", spec.version do |ok, res|
         if ok
           puts "[X] Tagged this release as #{spec.version} ... "
         else
           puts 'Could not create tag, please do it yourself!'
-          puts %{  git tag -m "Release #{spec.version}" }
+          puts %{  git tag -m "Release #{spec.version}" #{spec.version} }
         end
       end
     end


Mime
View raw message