Skip to content

Use the shared tool for build and publication versions - #97

Closed
jtnelson wants to merge 1 commit into
developfrom
feature/GH-67-share-version-tool
Closed

jtnelson wants to merge 1 commit into
developfrom
feature/GH-67-share-version-tool

Conversation

@jtnelson

Copy link
Copy Markdown
Member

Summary

Builds use the shared version contract so branch identifiers such as GH-60
retain their digits in published coordinates. This implements the consumer
migration in shared version tooling.

Behavior

The base version remains in .version. Builds append one counter, and deriving
the publication coordinate does not advance it. develop publishes a
-SNAPSHOT coordinate, master and main have no branch suffix, and
release/* publishes -rc.
Other branches receive a sanitized uppercase suffix, with a leading feature/
removed. Digits and the full branch identifier remain in that suffix, including
Renovate branch names.

Set the base version with bash .agents/tools/version X.Y.Z. Invalid versions
fail without changing the base version or counter. A successful setter resets
the counter.

The existing publication policy routes bare -rc coordinates to Cloudsmith
snapshots.

CI initializes the pinned private tools before building. Before merge, the
project's CircleCI checkout identity must be able to read that private commit,
or an administrator must provide CINCHAPI_AGENT_SKILLS_READ_KEY as a dedicated
read-only key. A failed checkout stops the build with an access error. Optional
key material is used only for that fetch and removed afterward. Authentication
does not grant new push rights; branch permissions remain unchanged.

@jtnelson jtnelson closed this Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant