In Files

Parent

Methods

Rake::ShipitTask::Step::Tag

Public Class Methods

new(step, format="%s") click to toggle source
# File lib/shipit.rb, line 191
def initialize(step, format="%s")
        @format = format
end

Public Instance Methods

prepare() click to toggle source
# File lib/shipit.rb, line 195
def prepare
        @vc = Rake::ShipitTask::VC.new
        @vers = @format % VERS
        @msg  = "Release %s" % @vers
        puts "tag: #{@vers}"
        if @vc.exists_tagged_version(@vers)
                raise "#{@tag} is already exists"
        end
end
run() click to toggle source
# File lib/shipit.rb, line 205
def run
        @vc.tag_version(@vers, @msg)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.