From f4e031f5055fc6bf8c87eb0b18f927f7f5ba36a8 Mon Sep 17 00:00:00 2001 From: ohemorange Date: Thu, 8 Feb 2024 13:31:36 -0800 Subject: [PATCH] Add troubleshooting instructions to the finish_release script for snapcraft credential expiry. (#9896) --- tools/finish_release.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/finish_release.py b/tools/finish_release.py index 9b90ad322..62642d602 100755 --- a/tools/finish_release.py +++ b/tools/finish_release.py @@ -102,7 +102,8 @@ def assert_logged_into_snapcraft(): except (subprocess.CalledProcessError, OSError): print("Please make sure that the command line tool snapcraft is") print("installed and that you have logged in to an account by running") - print("'snapcraft login'.") + print("'snapcraft login'. If that fails, your credentials may have expired") + print("and you should run `snapcraft logout` followed by 'snapcraft login'.") sys.exit(1)