Skip to content

build: release script with preflight checks - #4

Merged
marcofanti merged 1 commit into
mainfrom
release-script
Aug 2, 2026
Merged

build: release script with preflight checks#4
marcofanti merged 1 commit into
mainfrom
release-script

Conversation

@marcofanti

Copy link
Copy Markdown
Owner

Wraps the RELEASING.md procedure in release.sh so a release is one command:

./release.sh --dry-run 0.1.1   # preflight only
./release.sh 0.1.1             # release + tag + deploy + snapshot bump + push

Preflight catches the failure modes hit during the 0.1.0 release before any state changes: not-on-main / dirty tree / out of sync, existing tag, placeholder Central credentials, GPG unable to sign (pinentry/GPG_TTY), and a red mvn verify. On mid-release failure it prints a two-line local rollback; nothing is pushed until deploy succeeds. Next snapshot defaults to the next minor (override with a second argument).

shellcheck and shfmt clean; argument-validation paths tested. RELEASING.md now documents the script as the procedure, with 0.1.1 as the worked example.

🤖 Generated with Claude Code

@marcofanti
marcofanti merged commit e277603 into main Aug 2, 2026
1 check passed
@marcofanti
marcofanti deleted the release-script branch August 2, 2026 17:21
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