Skip to content

Add comprehensive release lifecycle hooks - #49

Merged
dblock merged 1 commit into
masterfrom
dblock/lifecycle-hooks
Nov 11, 2026
Merged

dblock merged 1 commit into
masterfrom
dblock/lifecycle-hooks

Conversation

@dblock

@dblock dblock commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add ordered, additive before/after hooks for all 17 standard and semantic lifecycle boundaries, preserving provider-specific contexts and existing validation/result callbacks.
  • Run both preparation hook sets inside trusted Git staging. Capture the precise failing stage, timing, and registration index without changing the original exception.
  • Keep the existing commit, build, tag, publication, and recovery implementations unchanged; the existing checkpoint task remains, and publication retains its established preparation behavior.
  • Document the complete stage catalog, exact Actions/standalone ordering, skipped/reused stages, retries, callbacks, and safety constraints. Include a consumer example using built-in KeepAChangelog and the standard workflow without private overrides or custom publication orchestration.

Validation

  • Full bundle exec rake spec phase: 313 examples passed, including installed-gem consumer processes; line coverage was 99.21%.
  • bundle exec rake rubocop: 131 files, no offenses; bundle exec rake build and git diff --check passed.
  • Real-Git integration verifies preparation hook edits enter the release and next-development commits and confirms publication retains its existing rebuild behavior.

No YAML interface changes, live publication, or release dispatch.

AI-generated by GitHub Copilot, posting on behalf of @dblock.

@dblock
dblock force-pushed the dblock/lifecycle-hooks branch 3 times, most recently from 91d2a4b to 6cbe920 Compare November 11, 2026 01:50
Expose trusted preparation boundaries, preserve existing callbacks, identify hook failures, and document stage execution while retaining the existing checkpoint and publication flow.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dblock
dblock force-pushed the dblock/lifecycle-hooks branch from 6cbe920 to 1a7febb Compare November 11, 2026 01:51
@dblock
dblock merged commit 58759f6 into master Nov 11, 2026
7 checks passed
@dblock
dblock deleted the dblock/lifecycle-hooks branch November 11, 2026 01:53
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