You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by bo...@apache.org on 2008/07/02 21:26:13 UTC

svn commit: r673472 - /incubator/buildr/trunk/lib/buildr/core/build.rb

Author: boisvert
Date: Wed Jul  2 12:26:13 2008
New Revision: 673472

URL: http://svn.apache.org/viewvc?rev=673472&view=rev
Log:
BUILDR-91: When doing a release, buildr should spawn the same version of buildr

Modified:
    incubator/buildr/trunk/lib/buildr/core/build.rb

Modified: incubator/buildr/trunk/lib/buildr/core/build.rb
URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/lib/buildr/core/build.rb?rev=673472&r1=673471&r2=673472&view=diff
==============================================================================
--- incubator/buildr/trunk/lib/buildr/core/build.rb (original)
+++ incubator/buildr/trunk/lib/buildr/core/build.rb Wed Jul  2 12:26:13 2008
@@ -125,7 +125,7 @@
         version = with_next_version do |filename, version| 
           options = ['--buildfile', filename, 'DEBUG=no']
           options << '--environment' << Buildr.environment unless Buildr.environment.to_s.empty?
-          sh "#{command} clean upload #{options.join(' ')}"
+          sh "#{command} _#{Buildr::VERSION}_ clean upload #{options.join(' ')}"
         end
         tag version
         commit version + '-SNAPSHOT'