Help us shape the future of Go! Take the 2026 Go Developer Survey

tools

command
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Command increaseversion bumps the semantic version in version.txt — the single source of truth for aptbase's build version (see docs/version.md).

Usage:

go run ./tools/increaseversion.go [patch|minor|major]

It defaults to a patch bump. Run it at the end of a successful release so the next build gets a fresh version, then tag the commit to match (e.g. `git tag v$(cat version.txt)`) so `go install ...@latest` reports the same version.

This lives under tools/ in package main, so it is never compiled into the aptbase binary and adds no dependency to consumers.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL