chore: publish IntegraCI build modules 732ec6c83925
This commit is contained in:
1 parent
7a84930dea
commit
5f8a24d014
133 files changed
+18990
-2
No files matched your search
@@ -0,0 +1,48 @@
|
||||
# IntegraCI — Release Dagger Module
|
||||
|
||||
Computes the next [SemVer](https://semver.org) from
|
||||
[Conventional Commits](https://www.conventionalcommits.org) and renders a
|
||||
changelog using [`git-cliff`](https://git-cliff.org). Designed to drive the
|
||||
release lifecycle from CI without prescribing how tags or PRs are pushed.
|
||||
|
||||
## Functions
|
||||
|
||||
| Function | Description |
|
||||
|----------------|----------------------------------------------------------|
|
||||
| `next-version` | Inspect commits since `current`, output bump + next SemVer |
|
||||
| `changelog` | Render the Markdown changelog for a tag (`git-cliff`) |
|
||||
| `plan` | One-shot `next-version` + `changelog` |
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
# Compute the next version from current v1.2.3
|
||||
dagger call -m dagger/release next-version \
|
||||
--src . \
|
||||
--current v1.2.3
|
||||
|
||||
# Render a changelog
|
||||
dagger call -m dagger/release changelog \
|
||||
--src . --tag v1.3.0
|
||||
|
||||
# Combined release plan (used by IntegraCI release pipelines)
|
||||
dagger call -m dagger/release plan \
|
||||
--src . --current v1.2.3
|
||||
```
|
||||
|
||||
## Bump Rules
|
||||
|
||||
| Commit pattern | Bump |
|
||||
|---------------------------------------------|--------|
|
||||
| `BREAKING CHANGE:` footer or `<type>!:` | major |
|
||||
| `feat:` / `feat(<scope>):` | minor |
|
||||
| `fix:` / `perf:` / `refactor:` (any scope) | patch |
|
||||
| anything else | none |
|
||||
|
||||
The module is intentionally pure: it never tags or pushes. Callers compose
|
||||
the side-effects (e.g. `git tag`, `gh release create`, opening a PR with the
|
||||
generated changelog) in their own pipeline so platform policy gates apply.
|
||||
|
||||
## License
|
||||
|
||||
Apache 2.0.
|
||||
Reference in new issue
Block a user