You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ingot update works without a GitHub token. Ingot's repository is now public, so no token or gh login is needed. Earlier versions only requested the binary when they had a token. Without one, GitHub returned the asset's JSON description, and that was installed in place of ingot. The updater now always requests the binary, and it rejects a download whose size doesn't match the release. (#8)
If GitHub rejects the token (expired or revoked), the updater drops it and tries again without it, instead of failing.
Upgrade notes
If you're on 2.2.0 or earlier with no GITHUB_TOKEN set and no gh login, update by re-downloading instead of running ingot update: curl -fsSLo ingot https://github.com/aliasproject/ingot/releases/latest/download/ingot-<os>-<arch> && chmod +x ingot && sudo mv ingot /usr/local/bin/ingot
If ingot already prints errors such as syntax error, it was replaced by that JSON file. The same command fixes it.