Add troubleshooting instructions to the finish_release script for snapcraft credential expiry. (#9896)

This commit is contained in:
ohemorange 2024-02-08 13:31:36 -08:00 committed by GitHub
parent 2844fdd74a
commit f4e031f505
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)