Skip to main content

hooks_for_transition

Function hooks_for_transition 

Source
pub fn hooks_for_transition(from: Stage, to: Stage) -> Vec<Hook>
Expand description

Which hooks fire when moving fromto.

  • Validate → Ship: docs are finalized before shipping.
  • Ship → (done): merge + version bump + changelog + branch cleanup.
  • everything else: none.

ChangelogAppend deliberately does NOT run here (WR-04, 17-12): a changelog heading naming a release is only true once VersionBump has actually cut the tag, and VersionBump runs in hooks_after_ship, strictly after this transition.