Expand description
Stage-transition hooks.
Branching, docs, changelog, and version bumps are no longer workflow stages
(as they were in v0.x). They are hooks that fire at specific stage
transitions. hooks_for_transition maps a (from, to) stage move to the
hooks that should run, and Hook::run executes one.
Structs§
- Hook
Context - Context passed to every hook.
Enums§
Functions§
- has_
version_ file - Whether a project has a version file, used by callers to decide if a version bump is meaningful.
- hooks_
after_ ship - Hooks that fire after Ship completes (the workflow’s terminal transition).
- hooks_
for_ transition - Which hooks fire when moving
from→to.