chore: add create-release governance (just recipe + workflow) #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/release-governance"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds the
create-releasegovernance to conform to the NiceGuyIT/governance templates. No library code changes.What
justfile:create-release <major|minor|hotfix>recipe. Guards a dirty tree, releases from an up-to-datemain, bumps the workspace version under[workspace.package](member crates inherit viaversion.workspace = true), commits onrelease/vX.Y.Z, and pushes for PR..forgejo/workflows/create-release.yml: when arelease/v*PR merges tomain, tags and publishes the Forgejo release with a changelog from commits since the previous tag.Adapted from the templates
templates/justfile/release.justandtemplates/forgejo-workflows/create-release.yml, with the version source pointed atworkspace.package.versionbecause this is a virtual workspace rather than a single package. The template documents this as a per-project adjustment.Verification
just --listparses and listscreate-release.cargo fmt --all --check,cargo clippy --workspace --all-targets -- -D warnings, andcargo test --workspace(80 passed) all green withSQLX_OFFLINE=true.