diff options
| author | user <user@clank> | 2026-08-28 15:44:01 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-08-28 15:44:01 +0200 |
| commit | 79df05ec1a3c38751956e8f6b122333ed3737efc (patch) | |
| tree | d7ec5b8eea2bc86d4c138dfa1dcfa84e82daaad8 /src | |
| parent | VERSION: 0.1.1, the bump v0.1.1 should have carried (diff) | |
| download | slosh-79df05ec1a3c38751956e8f6b122333ed3737efc.tar.gz slosh-79df05ec1a3c38751956e8f6b122333ed3737efc.tar.xz slosh-79df05ec1a3c38751956e8f6b122333ed3737efc.zip | |
release: one command to bump, commit and tag
contrib/release X.Y.Z moves ./VERSION, commits and cuts the annotated tag
together, so the floor and the tag cannot disagree by construction. It
refuses a dirty tree, a detached HEAD, a malformed or non-increasing
version, and an existing tag; notes passed as the second argument land in
the tag message. It prints the push and `make release` commands instead of
running them, because publishing should be deliberate.
contrib/release --check verifies the invariant (VERSION equals the newest
tag) on its own: `make release` runs it before building anything, and the
new pre-push hook runs the same comparison against the commit a v* tag
points at, so a tag made by hand is caught before it escapes the machine.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions
