docs(release): record the one-stream process, and stop process scopes inflating versions
RELEASING.md still described two independently versioned components, GATEWAY and RUNTIME release inputs, and a `task release:prepare` invocation that no longer exists. It is the file someone reads to cut a release, so a stale one is worse than none. The PRD's version computation carried a real flaw: a commit whose scope is the repository's own machinery could still bump the product's version, so the first improvement anyone made to the release process would inflate it -- which is exactly what `feat(release)` would have done to this cut. Non-product scopes (`release`, `ci`, `docs`, `build`, `test`) now contribute no bump.
This commit is contained in:
1 parent
46e9618bd2
commit
3a15136566
3 files changed
+64
-77
No files matched your search
@@ -148,6 +148,11 @@ what the commit rules above exist for.
|
||||
- **A breaking change bumps the major version.** Its form is `!` after the type or
|
||||
scope, as in `feat(api)!:`, and a `BREAKING CHANGE:` trailer — either marks it.
|
||||
- `chore`, `docs`, `test`, `style` and `build` bump nothing alone.
|
||||
- **The scope decides whether a commit is the product's.** A commit whose scope is
|
||||
the repository's own machinery -- `release`, `ci`, `docs`, `build`, `test` -- does
|
||||
not bump the version even when its type is `feat` or `fix`, because it changes how
|
||||
the project is delivered rather than what it does. Without this filter the first
|
||||
improvement anyone makes to the release process inflates the product's version.
|
||||
- **No release is a legitimate outcome.** A commit set that justifies no version
|
||||
produces no version, and the pipeline reports that rather than inventing one.
|
||||
|
||||
|
||||
Reference in new issue
Block a user