fix: release-mac.sh resolves tokens from the git credential store; fail fast #24

Merged
adrianbonpin merged 1 commits from fix/release-mac-token-fallback into prod 2026-09-04 04:21:17 +00:00
1 Commits
Author SHA1 Message Date
adrianbonpin 1556fd1dea fix: release-mac.sh resolves tokens from the git credential store; fail fast
The token lookup only read PATs from tea's config — with tea's OAuth
login the config has no token, so the script silently continued with an
empty one and failed 30 minutes later at the upload step. Fall back to
the git credential store (the access token stored by every git push,
accepted by Gitea for API auth), and error out immediately when nothing
is found instead of burning a full build.
2026-09-04 12:21:06 +08:00