Class: Omnibus::Command::Publish
- Defined in:
- lib/omnibus/cli/publish.rb
Instance Method Summary collapse
Methods inherited from Base
dispatch, exit_on_failure?, #help, #initialize
Methods included from Logging
Constructor Details
This class inherits a constructor from Omnibus::Command::Base
Instance Method Details
#artifactory(repository, pattern) ⇒ Object
78 79 80 81 82 83 84 85 86 87 |
# File 'lib/omnibus/cli/publish.rb', line 78 def artifactory(repository, pattern) if [:version_manifest] Omnibus.logger.deprecated("ArtifactoryPublisher") do "The `--version-manifest' option has been deprecated. Version manifest data is now part of the `*.metadata.json' file" end end [:repository] = repository publish(ArtifactoryPublisher, pattern, ) end |
#s3(bucket, pattern) ⇒ Object
59 60 61 62 |
# File 'lib/omnibus/cli/publish.rb', line 59 def s3(bucket, pattern) [:bucket] = bucket publish(S3Publisher, pattern, ) end |