aboutsummaryrefslogtreecommitdiff
path: root/releng/create_release.xsh
diff options
context:
space:
mode:
authorJade Lovelace <lix@jade.fyi>2024-06-09 01:26:21 -0700
committerJade Lovelace <lix@jade.fyi>2024-06-09 20:33:24 -0700
commit82dc712d9312f06e653213d030b6db21529a422f (patch)
tree495de311a06e7710ad7ed10f0a1dfeec1ba3d2e2 /releng/create_release.xsh
parentce71d0e9abe347147f50fba4bf11eac97b2a90ef (diff)
releng: add prod environment, ready for release
I am *reasonably* confident that this releng infrastructure can actually build a Lix 2.90 and release it successfully. Let's make it possible to do, and add some cute colours to the confirmation message. Change-Id: I85e498b6fb49ffc5e75c0a72c5e45fb1f69030d3
Diffstat (limited to 'releng/create_release.xsh')
-rw-r--r--releng/create_release.xsh5
1 files changed, 3 insertions, 2 deletions
diff --git a/releng/create_release.xsh b/releng/create_release.xsh
index 373c079bc..94c78a83f 100644
--- a/releng/create_release.xsh
+++ b/releng/create_release.xsh
@@ -240,9 +240,10 @@ def upload_artifacts(env: RelengEnvironment, noconfirm=False, no_check_git=False
tree @(ARTIFACTS)
+ env_part = f'environment {env.name}'
not noconfirm and confirm(
- f'Would you like to release {ARTIFACTS} as {VERSION}? Type "I want to release this" to confirm\n',
- 'I want to release this'
+ f'Would you like to release {ARTIFACTS} as {VERSION} in {env.colour(env_part)}? Type "I want to release this to {env.name}" to confirm\n',
+ f'I want to release this to {env.name}'
)
docker_images = list((ARTIFACTS / f'lix/lix-{VERSION}').glob(f'lix-{VERSION}-docker-image-*.tar.gz'))