class Docker::Release::Runner
Public Instance Methods
run()
click to toggle source
# File lib/docker/release/runner.rb, line 8 def run trap_int precheck! validate! perform! end
Private Instance Methods
perform!()
click to toggle source
# File lib/docker/release/runner.rb, line 26 def perform! synchronize_repo! log 'The new release has been pushed.' end
precheck!()
click to toggle source
# File lib/docker/release/runner.rb, line 17 def precheck! check_for_unstaged_changes! check_for_changelog! end
repo()
click to toggle source
# File lib/docker/release/runner.rb, line 36 def repo @repo ||= Docker::Repository.new end
synchronize_repo!()
click to toggle source
# File lib/docker/release/runner.rb, line 31 def synchronize_repo! log 'Preparing the tagged version for release.' repo.prepare! @tag end
validate!()
click to toggle source
# File lib/docker/release/runner.rb, line 22 def validate! Dockerrun::Validate.instance.call end