1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Release-plz configuration for glam.
#
# Mirrors the previous manual release process: a "Prepare <version> release"
# PR bumps the version and generates the changelog; merging that PR tags the
# release and publishes to crates.io.
[]
# Only tag + publish when the release PR is merged, not on every push to
# main. Note: release PR detection relies on the default `release-plz-`
# branch prefix, so don't set pr_branch_prefix.
= false
# Only trigger when a commit matches this allowlist; everything else rides
# along with the next release. Whether ride-along commits show up in the
# changelog is decided by the `[changelog]` parsers below.
= '^(feat|fix|perf|changed|deprecated|removed|security)(\(.*\))?!?:'
# Match the existing tag style: 0.33.3 (no "v" prefix, no package prefix).
= "{{ version }}"
# glam releases are a git tag + crates.io publish; no GitHub release.
= false
# Squash-merging this PR produces the usual "Prepare <version> release"
# commit on main. The `release` label is used by the PR-title lint
# workflow to exempt release PRs from the Conventional Commits check.
= "Prepare {{ version }} release"
= ["release"]
# Run cargo-semver-checks and report API compatibility in the release PR
# body. This check can also drive the version bump: if it detects an
# incompatible API change, release-plz bumps the minor version (the 0.x
# breaking slot) regardless of the commit titles.
= true
# The changelog is generated from conventional commit messages on the
# release PR using git-cliff; see the `[changelog]` section for which
# commits are kept. Version bumps
# follow release-plz's pre-1.0 rules: breaking changes bump the minor
# version (the 0.x breaking slot), whether detected by cargo-semver-checks
# or by the `!` marker in a commit title. Everything else, including
# `feat:`, bumps the patch version. This matches the bump policy used
# before switching to release-plz.
= true
# Only the glam crate is released. The `ci` and `glam-no_std` packages are
# skipped automatically because they set `publish = false` in their
# Cargo.toml; `codegen` needs an explicit exclusion as it doesn't.
[[]]
= "codegen"
= false
# Keep a Changelog sections, with the noise filtered out: maintenance
# commits are dropped, breaking changes are always kept, and anything else
# (e.g. dependabot bumps) falls into "Other".
[]
= true
= [
{ = '^feat', = "added" },
{ = '^changed', = "changed" },
{ = '^deprecated', = "deprecated" },
{ = '^removed', = "removed" },
{ = '^fix', = "fixed" },
{ = '^security', = "security" },
{ = '^(docs|chore|ci|test|refactor|style|build|revert)(\(.*\))?!?:', = true },
{ = '^.*', = "other" },
]