Sha256: 312f3fb7ef6d7354e81870ccb569d99e6f22a9b7eb263f042a6de7ac9a8a3ec4

Contents?: true

Size: 484 Bytes

Versions: 10

Compression:

Stored size: 484 Bytes

Contents

require 'lib/gecoder/version'

desc "Tag the release in svn"
task :tag do
  base_url = `svn info`.match(/Repository Root: (.*)/n)[1]
  base_url.gsub!('rubyforge', "#{ENV['RUBYFORGE_USER']}@rubyforge")
  from = base_url + '/trunk'
  to = base_url + "/tags/gecoder-#{GecodeR::VERSION}"
  options = "-m \"Tag release Gecode/R #{GecodeR::VERSION}\""

  puts "Creating tag in SVN"
  tag_cmd = "svn cp #{from} #{to} #{options}"
  `#{tag_cmd}` ; raise "ERROR: #{tag_cmd}" unless $? == 0
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
gecoder-with-gecode-0.8.3-mswin32 tasks/svn.rake
gecoder-with-gecode-0.8.2-mswin32 tasks/svn.rake
gecoder-with-gecode-0.8.1-mswin32 tasks/svn.rake
gecoder-0.8.0 tasks/svn.rake
gecoder-0.8.1 tasks/svn.rake
gecoder-0.8.2 tasks/svn.rake
gecoder-0.8.3 tasks/svn.rake
gecoder-with-gecode-0.8.1 tasks/svn.rake
gecoder-with-gecode-0.8.2 tasks/svn.rake
gecoder-with-gecode-0.8.3 tasks/svn.rake