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
Owner

During the v0.7.14 release the token lookup found nothing (tea's OAuth login stores no PAT in its config), so the script silently continued with an empty token and failed 30 minutes later at the upload — after the full build.

  • Fall back to the git credential store (the access token stored by every git push; Gitea accepts it for API auth)
  • Remove the interactive prompt (useless in unattended runs — silently reads EOF) and error out immediately when no token is found
During the v0.7.14 release the token lookup found nothing (tea's OAuth login stores no PAT in its config), so the script silently continued with an empty token and failed 30 minutes later at the upload — after the full build. - Fall back to the git credential store (the access token stored by every `git push`; Gitea accepts it for API auth) - Remove the interactive prompt (useless in unattended runs — silently reads EOF) and error out immediately when no token is found
adrianbonpin added 1 commit 2026-09-04 04:21:11 +00:00
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.
adrianbonpin merged commit 67f3532938 into prod 2026-09-04 04:21:17 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adrianbonpin/gridline#24