Open plinto
Docs›Concepts

Versions and releases

Concept·3 min read
In one sentence

You choose a version line, such as 1.0. Each build of your group that passes releases into it, and plinto numbers the releases for you.

You writeversion = 1.0
Releases are1.0-1, 1.0-2, 1.0-3…
The apps show1.0 (e4f5a6b), the line and its commit

The line is the promise

A line says what a release promises to the projects that use it. A change that keeps every promise stays in its line, and the projects that say MyLib = 1.0 get it with plinto update. A change that breaks one starts a new line, version = 2.0, which projects move to on purpose.

Who numbers releases

Only plinto's build service releases, and it numbers each release of a package: 1.0-1, 1.0-2, then 2.0-3 for the next line, as one count per package. Your own machine never makes a release others get:

Command What it makes Who gets it
plinto build a build in the project's build/ nobody: it's for you
plinto release a release in the workspace's .dependencies/ the other projects of your workspace
a build of your group a numbered release, pinned in a new revision everyone who uses the group

plinto release --dry-run asks the build service to build your whole workspace as a release would, uncommitted changes included, and releases nothing.

Shown with its commit

The apps show a release as 1.0 (e4f5a6b): its line and the commit it was built from, which is what you usually want to know. The full number shows where it matters, such as a revision's list of packages and the command line's output.

Imported packages keep the version their registry gave them, such as 33.7.2-jre.