Method
release_distribution
(distribution,
list: nil,
rc_prefix: nil,
release_prefix: nil)
Source from the content-addressed store, hash-verified
| 1305 | end |
| 1306 | |
| 1307 | def release_distribution(distribution, |
| 1308 | list: nil, |
| 1309 | rc_prefix: nil, |
| 1310 | release_prefix: nil) |
| 1311 | options = { |
| 1312 | api_key: artifactory_api_key, |
| 1313 | distribution: distribution, |
| 1314 | list: list, |
| 1315 | rc_prefix: rc_prefix, |
| 1316 | release_prefix: release_prefix, |
| 1317 | staging: staging?, |
| 1318 | } |
| 1319 | releaser = ArtifactoryReleaser.new(**options) |
| 1320 | releaser.release |
| 1321 | end |
| 1322 | |
| 1323 | def same_content?(path1, path2) |
| 1324 | File.exist?(path1) and |
Callers
nothing calls this directly
Tested by
no test coverage detected