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
This repo uses [GitVersion](https://gitversion.net) (see [GitVersion.yml](GitVersion.yml)): the next release version is one minor bump past the most recent release tag, no matter how many PRs have merged since. To bump differently, include `+semver: major` or `+semver: patch` in a commit message on `main`.
64
+
65
+
Stable channel users only receive updates when the plugin's `version` and `ref` in [.claude-plugin/marketplace.json](.claude-plugin/marketplace.json) change, which the Release workflow handles. Latest channel users receive updates on every commit to `main` because the latest entries omit `version`, so each commit SHA counts as a new version. For the same reason, plugin manifests (`plugin.json`) must not declare a `version` — it would take precedence over the marketplace entry and pin both channels to the same version.
66
+
67
+
The [Version workflow](.github/workflows/version.yml) prints the calculated version in its run summary for every push and pull request to `main`. To calculate it locally instead:
68
+
69
+
```bash
70
+
docker run --rm -v "$PWD:/repo" gittools/gitversion:6.3.0 /repo
71
+
```
72
+
73
+
### Releasing
74
+
75
+
Run the [Release workflow](.github/workflows/release.yml) from the GitHub Actions tab. It:
76
+
77
+
1. Calculates the next version with GitVersion.
78
+
2. Tags `main` with `vX.Y.Z` and creates a GitHub release with generated notes.
79
+
3. Points the stable channel entries in `marketplace.json` at the new tag.
80
+
4. Regenerates `CHANGELOG.md` and commits both files to `main` as `Release vX.Y.Z`.
0 commit comments