Sha256: 7bc06f9d350f64f261bcd09bf092eb6d4ad4b36f15ebf62767213f039e203d15

Contents?: true

Size: 375 Bytes

Versions: 4

Compression:

Stored size: 375 Bytes

Contents

module BuildMaster

class Release
  def initialize(vcs_driver, builder)
    @vcs_driver = vcs_driver
    @builder = builder
  end
  
  def release_candidate(tag)
    @vcs_driver.checkout
    @vcs_driver.tag(tag)
    @builder.build
    @vcs_driver.commit
  end
  
  def release_rebuild(tag)
    @vcs_driver.checkout(tag)
    @builder.invoke
  end
end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
BuildMaster-0.7.0 lib/buildmaster/release_control.rb
BuildMaster-0.8.0 lib/buildmaster/release_control.rb
BuildMaster-0.8.1 lib/buildmaster/release_control.rb
BuildMaster-0.6.0 lib/buildmaster/release_control.rb