Skip to content

Build and publish versions with the shared version tool - #9

Merged
jtnelson merged 2 commits into
developfrom
feature/shared-version-tool
Nov 1, 2026
Merged

jtnelson merged 2 commits into
developfrom
feature/shared-version-tool

Conversation

@jtnelson

@jtnelson jtnelson commented Nov 1, 2026

Copy link
Copy Markdown
Member

Summary

A release branch or a Renovate branch of data-transform-api builds the plain
version that only master should, such as 1.5.0, and Gradle publishes it to
platform, the releases repository. A feature branch publishes there too. The
published version also loses every digit of a branch's name, so
feature/GH-60-fix publishes as 1.5.0-GH--FIX, and branches that differ only
in their issue number publish the same version.

This adopts the shared version tool, the one set of version rules for every
Cinchapi repo, from cinchapi/cinchapi-agent-skills#70. Part of
cinchapi/cinchapi-agent-skills#67.

Behavior

version.sh is a copy of the shared tool at the pinned commit of .agents, and
every skills pull refreshes it. Gradle and tools/release call it as before.

Branch Published version Repository
master 1.5.0 platform
release/* 1.5.0-rc<n> platform-snapshots
develop 1.5.0-SNAPSHOT platform-snapshots
any other, such as feature/GH-60-fix 1.5.0-FEATURE-GH-60-FIX platform-snapshots

Only a plain X.Y.Z goes to the releases repository. A release candidate carries
its build number as -rc<n>, so each candidate is a distinct version.

version.sh X.Y.Z sets .version and changes no other file, since nothing else
in the repo names its version.

@jtnelson
jtnelson merged commit 2917bf4 into develop Nov 1, 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