Sha256: b7e3e1befa17f9fdc2596fb14b63c90b100c8e5ecbf6613bb890f658bcda31b1
Contents?: true
Size: 377 Bytes
Versions: 10
Compression:
Stored size: 377 Bytes
Contents
require 'lib/gecoder/version' desc "Tag the release in svn" task :tag do from = `svn info`.match(/Repository Root: (.*)/n)[1] + '/trunk' to = from.gsub(/trunk/, "tags/gecoder-#{GecodeR::VERSION}") puts "Creating tag in SVN" tag_cmd = "svn cp #{from} #{to} -m \"Tag release Gecode/R #{GecodeR::VERSION}\"" `#{tag_cmd}` ; raise "ERROR: #{tag_cmd}" unless $? == 0 end
Version data entries
10 entries across 10 versions & 2 rubygems