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

This commit is contained in:
ohemorange
2024-02-08 21:31:36 +00:00
committed by GitHub
parent 2844fdd74a
commit f4e031f505
+2 -1
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)