From 88e4f922f92e2e6d9d4f1e7ec70310cf8b11ac01 Mon Sep 17 00:00:00 2001 From: Sergio Schvezov Date: Wed, 7 Apr 2021 08:42:37 -0300 Subject: [PATCH] cli: rename experimental login environment variable (#3493) It was SNAPCRAFT_LOGIN, which conflicted with commonly named environment variables used for CI/CD. Signed-off-by: Sergio Schvezov --- snapcraft/cli/store.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snapcraft/cli/store.py b/snapcraft/cli/store.py index 93970a30a8..f6ab45a727 100644 --- a/snapcraft/cli/store.py +++ b/snapcraft/cli/store.py @@ -672,7 +672,7 @@ def list_registered(): "--experimental-login", is_flag=True, help="*EXPERIMENTAL* Enables login through candid.", - envvar="SNAPCRAFT_LOGIN", + envvar="SNAPCRAFT_EXPERIMENTAL_LOGIN", ) def export_login( login_file: str, @@ -800,7 +800,7 @@ def export_login( "--experimental-login", is_flag=True, help="*EXPERIMENTAL* Enables login through candid.", - envvar="SNAPCRAFT_LOGIN", + envvar="SNAPCRAFT_EXPERIMENTAL_LOGIN", ) def login(login_file, experimental_login: bool): """Login with your Ubuntu One e-mail address and password.