Publish enterprise2 to correct bucket (#43115)

This commit is contained in:
malcolmholmes
2021-12-14 18:43:24 +01:00
committed by GitHub
parent c0ff685d3b
commit 198f947d0b
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -933,6 +933,8 @@ def upload_packages_step(edition, ver_mode, is_downstream=False):
elif ver_mode == 'release':
packages_bucket = '$${{PRERELEASE_BUCKET}}/artifacts/downloads{}/${{DRONE_TAG}}'.format(enterprise2_suffix(edition))
cmd = './bin/grabpl upload-packages --edition {} --packages-bucket {}'.format(edition, packages_bucket)
elif edition == 'enterprise2':
cmd = './bin/grabpl upload-packages --edition {} --packages-bucket grafana-downloads-enterprise2'.format(edition)
else:
cmd = './bin/grabpl upload-packages --edition {} --packages-bucket grafana-downloads'.format(edition)