# Versions and releases

> You choose a version line such as 1.0; each passing build releases into it, numbered for you and shown with its commit.

**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 write: `version = 1.0`
Releases are: `1.0-1`, `1.0-2`, `1.0-3`…
The apps show: `1.0 (e4f5a6b)`, the line and its commit

## The line is the promise {#line}

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 {#numbers}

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 {#display}

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`.

- [Version rules](../reference/version-rules.md): what `MyLib = 1.0` matches
- [Version groups](version-groups.md): which release each project gets
- [Check a release](../guides/check-a-release.md): build one again and compare
