Change files decide the bump and changelog; knope only prepares the release and never reads commit subjects. VERSION is the one owner of the current version.
22 lines
647 B
TOML
22 lines
647 B
TOML
# Release preparation. Change files in .changeset/ decide the bump and the CHANGELOG; commit subjects are never read.
|
|
# Knope only prepares: it bumps VERSION, writes CHANGELOG.md and consumes the change files. Tagging and publishing
|
|
# are .forgejo/workflows/release.yml (knope cannot upload release assets to this forge).
|
|
|
|
[package]
|
|
versioned_files = [{ path = "VERSION", regex = '^(?<version>\S+)' }]
|
|
changelog = "CHANGELOG.md"
|
|
|
|
[changes]
|
|
ignore_conventional_commits = true
|
|
|
|
[[workflows]]
|
|
name = "document-change"
|
|
|
|
[[workflows.steps]]
|
|
type = "CreateChangeFile"
|
|
|
|
[[workflows]]
|
|
name = "prepare-release"
|
|
|
|
[[workflows.steps]]
|
|
type = "PrepareRelease"
|