Skip to content

Commit 60fa421

Browse files
authored
docs: bump version at deploy time, not per pull request (#112)
Version bumps in feature pull requests kept conflicting on the same version line. The monorepo deploy skill now makes one bump commit on main per promotion, then tags and releases it on the deploy merge commit. Closes #111
1 parent 4b96daf commit 60fa421

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

AGENTS.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,13 @@ resources. Test-only fixtures may remain with their tests.
8989

9090
## Versioning
9191

92-
`version` in `build.gradle` is the lobby server's single version source. Update
93-
it in every runtime-behavior change: PATCH for backward-compatible fixes and
94-
internal changes, MINOR for backward-compatible features, and MAJOR for
95-
breaking API or protocol changes. Do not bump for documentation, tests, or
96-
agent-instruction-only changes. Never add a second runtime version or use a
97-
`-SNAPSHOT` deployable version. Spring Boot build info embeds this value.
92+
`version` in `build.gradle` is the lobby server's single version source.
93+
Do not bump it in a pull request. The monorepo `deploy` skill bumps it once per
94+
promotion: it commits `chore(release): WordOnlineMatching vX.Y.Z` to `main`, merges
95+
`main` into `deploy`, then tags and releases `vX.Y.Z` on the merge commit. The level comes
96+
from the Conventional Commit messages promoted in that release: MAJOR for a `!`
97+
marker or a `BREAKING CHANGE` trailer, MINOR for `feat:`, PATCH otherwise, so
98+
write accurate commit types.
99+
100+
Never add a second runtime version or use a `-SNAPSHOT` deployable version.
101+
Spring Boot build info embeds this value.

0 commit comments

Comments
 (0)