Expand description
Shell execution helper.
The only thing in sr that runs user-visible shell commands is the
Publish stage — it shells out to cargo publish / npm publish /
docker buildx build / uv publish / twine when a typed publisher
needs to hit a registry, or to a publish: custom command.
sr intentionally does not run user “hooks” (pre_release, post_release,
build). Those belong in the CI workflow around sr plan / sr prepare /
sr release, not inside sr.
Functions§
- run_
shell - Run a shell command (
sh -c). Inherits stdio unlessstdin_datais provided (in which case stdin is piped).envis injected into the child process;RELSTATE_*/SR_VERSIONetc. flow through here.