Class: Omnibus::Command::Publish

Inherits:
Base
  • Object
show all
Defined in:
lib/omnibus/cli/publish.rb

Instance Method Summary collapse

Methods inherited from Base

dispatch, #help, #initialize

Methods included from Logging

included

Constructor Details

This class inherits a constructor from Omnibus::Command::Base

Instance Method Details

#artifactory(repository, pattern) ⇒ Object


58
59
60
61
# File 'lib/omnibus/cli/publish.rb', line 58

def artifactory(repository, pattern)
  options[:repository] = repository
  publish(ArtifactoryPublisher, pattern, options)
end

#s3(bucket, pattern) ⇒ Object


47
48
49
50
# File 'lib/omnibus/cli/publish.rb', line 47

def s3(bucket, pattern)
  options[:bucket] = bucket
  publish(S3Publisher, pattern, options)
end