From 9fd945dc17ec1fbc02cbc8f2e2a78905ac708f46 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 22 Dec 2023 18:07:53 +0100 Subject: [PATCH] feat(ci): allow both validators-testnet and validator-testnet for env name (#5540) --- tools/ci/define-dist-variables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ci/define-dist-variables.py b/tools/ci/define-dist-variables.py index bacaeb577..91418b71a 100644 --- a/tools/ci/define-dist-variables.py +++ b/tools/ci/define-dist-variables.py @@ -16,7 +16,7 @@ bucket_name = '' if 'release/' in args.github_ref: if 'mainnet-mirror' in args.github_ref: env_name = 'mainnet-mirror' - if 'validators-testnet' in args.github_ref: + if 'validators-testnet' in args.github_ref or 'validators-testnet' in args.github_ref: env_name = 'validators-testnet' else: # remove prefixing release/ and take the first string limited by - which is supposed to be name of the environment for releasing (format: release/testnet-trading)