Publish enterprise2 to correct bucket (#43115) (#43119)

(cherry picked from commit 198f947d0b)

Co-authored-by: malcolmholmes <42545407+malcolmholmes@users.noreply.github.com>
This commit is contained in:
Carl Bergquist
2021-12-14 19:01:47 +01:00
committed by GitHub
co-authored by malcolmholmes
parent 89607fbdb3
commit ebcab2136c
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -934,6 +934,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)