Skip to content

Commit

Permalink
cli: rename experimental login environment variable (#3493)
Browse files Browse the repository at this point in the history
It was SNAPCRAFT_LOGIN, which conflicted with commonly named
environment variables used for CI/CD.

Signed-off-by: Sergio Schvezov <[email protected]>
  • Loading branch information
sergiusens authored Apr 7, 2021
1 parent 8e918d9 commit 88e4f92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snapcraft/cli/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 88e4f92

Please sign in to comment.