Skip to content

Commit

Permalink
Merge pull request #43 from openvstorage/disable_upload_hotfix
Browse files Browse the repository at this point in the history
Currently disable trying to upload hotfix releases
  • Loading branch information
JeffreyDevloo authored Jan 3, 2018
2 parents 08f83e8 + 7c014f1 commit bcf1b94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packaging/packager.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,13 @@
print 'Package metadata: {0}'.format(metadata)

if metadata is not None:
add_package = options.release != 'hotfix'
# 2. Build & Upload packages
if options.deb is True and 'deb' not in settings['repositories']['exclude_builds'].get(options.product, []):
DebianPackager.package(metadata)
try:
if options.artifact_only is False:
DebianPackager.upload(metadata, add=True, hotfix_release=options.hotfix_release)
DebianPackager.upload(metadata, add=add_package, hotfix_release=options.hotfix_release)
finally:
# Always store artifacts in jenkins too
DebianPackager.prepare_artifact(metadata)
Expand Down

0 comments on commit bcf1b94

Please sign in to comment.