Skip to content

fix(release): tolerate fetch failure in release.sh preflight - #37

Merged
beallio merged 1 commit into
mainfrom
chore/release-script-fetch-guard
Jun 22, 2026
Merged

beallio merged 1 commit into
mainfrom
chore/release-script-fetch-guard

Conversation

@beallio

@beallio beallio commented Jun 22, 2026

Copy link
Copy Markdown
Owner

Follow-up to #36. A failed git fetch (transient network, or sandboxed env) no longer aborts release.sh under set -e — it warns and the behind-check falls back to local refs. Also guards the behind-check on origin/<branch> existing.

Shell-only change to scripts/release.sh; not shipped, not imported.

🤖 Generated with Claude Code

A failed 'git fetch' (e.g. transient network) no longer aborts the release under
set -e; it degrades to a warning and the behind-check falls back to local refs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BgefpxLQ4Vz5MQ3EnGiwxe
@beallio
beallio merged commit 780f9e3 into main Jun 22, 2026
1 check passed
@beallio
beallio deleted the chore/release-script-fetch-guard branch June 22, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant