Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

dont tag the project using rake, it does not have access to the hudso…

…n credential cache
  • Loading branch information...
commit f45a813437e16cb1026afce2b11bad2e9501f1a1 1 parent a0cc9ba
authored August 10, 2009

Showing 1 changed file with 1 addition and 11 deletions. Show diff stats Hide diff stats

  1. 12  Rakefile
12  Rakefile
@@ -26,7 +26,7 @@ def init
26 26
 end
27 27
 
28 28
 desc "Build documentation, tar balls and rpms"
29  
-task :default => [:clean, :doc, :archive, :rpm, :tag] do
  29
+task :default => [:clean, :doc, :archive, :rpm] do
30 30
 end
31 31
 
32 32
 # taks for building docs
@@ -48,16 +48,6 @@ task :archive => [:clean, :doc] do
48 48
     system("cd build && /bin/tar --exclude .svn -cvzf #{PROJ_NAME}-#{CURRENT_VERSION}.tgz #{PROJ_NAME}-#{CURRENT_VERSION}")
49 49
 end
50 50
 
51  
-desc "Tag the release in SVN"
52  
-task :tag => [:rpm] do
53  
-    ENV["TAGS_URL"] ? TAGS_URL = ENV["TAGS_URL"] : TAGS_URL = `/usr/bin/svn info|/bin/awk '/Repository Root/ {print $3}'`.chomp + "/tags"
54  
-
55  
-    raise("Need to specify a SVN url for tags using the TAGS_URL environment variable") unless TAGS_URL
56  
-
57  
-    announce "Tagging the release for version #{CURRENT_VERSION}-#{CURRENT_RELEASE}"
58  
-    sh %{svn copy -m 'Hudson adding release tag #{CURRENT_VERSION}-#{CURRENT_RELEASE}' ../#{PROJ_NAME}/ #{TAGS_URL}/#{PROJ_NAME}-#{CURRENT_VERSION}-#{CURRENT_RELEASE}}
59  
-end
60  
-
61 51
 desc "Creates a RPM"
62 52
 task :rpm => [:archive] do
63 53
     announce("Building RPM for #{PROJ_NAME}-#{CURRENT_VERSION}-#{CURRENT_RELEASE}")

0 notes on commit f45a813

Please sign in to comment.
Something went wrong with that request. Please try again.