Permalink
Browse files

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

…n credential cache
  • Loading branch information...
1 parent a0cc9ba commit f45a813437e16cb1026afce2b11bad2e9501f1a1 rip@devco.net committed Aug 10, 2009
Showing with 1 addition and 11 deletions.
  1. +1 −11 Rakefile
View
@@ -26,7 +26,7 @@ def init
end
desc "Build documentation, tar balls and rpms"
-task :default => [:clean, :doc, :archive, :rpm, :tag] do
+task :default => [:clean, :doc, :archive, :rpm] do
end
# taks for building docs
@@ -48,16 +48,6 @@ task :archive => [:clean, :doc] do
system("cd build && /bin/tar --exclude .svn -cvzf #{PROJ_NAME}-#{CURRENT_VERSION}.tgz #{PROJ_NAME}-#{CURRENT_VERSION}")
end
-desc "Tag the release in SVN"
-task :tag => [:rpm] do
- ENV["TAGS_URL"] ? TAGS_URL = ENV["TAGS_URL"] : TAGS_URL = `/usr/bin/svn info|/bin/awk '/Repository Root/ {print $3}'`.chomp + "/tags"
-
- raise("Need to specify a SVN url for tags using the TAGS_URL environment variable") unless TAGS_URL
-
- announce "Tagging the release for version #{CURRENT_VERSION}-#{CURRENT_RELEASE}"
- sh %{svn copy -m 'Hudson adding release tag #{CURRENT_VERSION}-#{CURRENT_RELEASE}' ../#{PROJ_NAME}/ #{TAGS_URL}/#{PROJ_NAME}-#{CURRENT_VERSION}-#{CURRENT_RELEASE}}
-end
-
desc "Creates a RPM"
task :rpm => [:archive] do
announce("Building RPM for #{PROJ_NAME}-#{CURRENT_VERSION}-#{CURRENT_RELEASE}")

0 comments on commit f45a813

Please sign in to comment.