class ReleaseRunner
Attributes
box[R]
version[R]
Public Class Methods
new(opts)
click to toggle source
# File lib/bento/release.rb, line 8 def initialize(opts) @box = opts.box @version = opts.version end
Public Instance Methods
start()
click to toggle source
# File lib/bento/release.rb, line 13 def start banner("Releasing #{box}/#{version}...") time = Benchmark.measure do b = vc_account.get_box(box) v = b.get_version(version) v.release end banner("Release finished in #{duration(time.real)}.") end