You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-12Lines changed: 19 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -369,24 +369,31 @@ Integration tests use `[Collection("Integration")]` and require running Docker C
369
369
370
370
## CI/CD
371
371
372
-
This project uses **GitHub Actions** (`.github/workflows/ci.yml`):
372
+
This project uses **GitHub Actions** (`.github/workflows/ci.yml`) with **[GitVersion](https://gitversion.net/)** for automatic semantic versioning based on the GitFlow branching model.
373
373
374
-
| Branch/Tag | Version Format | NuGet Feed |
374
+
Versions are derived from git history and tags — no manual version bumping required after initial setup.
375
+
376
+
| Branch/Tag | Pre-release Label | Example Version |
375
377
|---|---|---|
376
-
|`v*` tag |`{tag}` (e.g., `1.3.0`) | nuget.org (stable) |
-**Tag a release** on `main`/`master` (e.g., `v1.3.0`) to set the version baseline
388
+
- All subsequent commits on branches derive their version from git tags and merge history
389
+
- Commit messages with `+semver: major`, `+semver: minor`, or `+semver: fix` control version increments
390
+
- Configuration lives in `GitVersion.yml` at the repo root
382
391
383
392
All packages are published with the `Cts.*` prefix (e.g., `Cts.EventHorizon.Abstractions`).
384
393
385
-
### Secrets
394
+
### Trusted Publishing
386
395
387
-
| Secret | Purpose |
388
-
|---|---|
389
-
|`NUGET_API_KEY`| API key for publishing to nuget.org |
396
+
NuGet packages are published using [trusted publishing](https://devblogs.microsoft.com/nuget/introducing-trusted-publishers/) via GitHub's OIDC tokens — no API keys or secrets required. The trusted publisher is configured on nuget.org to trust the `ci.yml` workflow in this repository.
0 commit comments