age
Alt bumpversion
Summary
| Latest Version | Unknown |
|---|---|
| License | Apache-2.0 |
| CI Status | Failing |
| Stars | 8 |
| Forks | 0 |
| Open Issues | 15 |
| Last Commit | 2026-09-01 |
| Downloads | 0 |
| Last Indexed | 2026-09-06 06:05 |
Tags
Installation
nimble install age
choosenim install age
git clone https://github.com/attakei/age
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| age | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/attakei/age |
|---|---|
| Homepage | https://age.attakei.dev |
| Registry Source | github |
README
age
age is my bumpversion tool.
Overview
This is faster bump-version tools inspired by bumpversion and inherits. age is a meaning that logging lib's birthday and "Up" in Japanese slang.
Installation
nimble install age
You can also from these:
- Download directly from GitHub releases.
- Use aqua with custom registry.
Usage
At first, you must generate configuration file -- .age.toml.
You should edit it for your current version, because generated file is set current_version = "0.0.0".
age init
If you want to up next version, run age update|major|minor|patch.
updateaccepts any semver.majoris shortcut to major version updating of semver.minoris shortcut to minor version updating of semver.patchis shortcut to patch version updating of semver.
Example:
# If current_version = "1.2.3"
> age major # Update to 2.0.0
> age minor # Update to 1.3.0
> age patch # Update to 1.2.4
Configuration file
current_version
Version value that age manages.
files
List of replace target for update versioning.
path: File path of cwd.search: Replace target line.replace: Replaced text for target.
Templating context
Age uses template-engine to search and replace targets.
You can set context values into files.search and files.replace.
If you want to know example, please see .age.toml.
Context values.
current_version: Version text before run command.new_version: New version text after run command.now: Date time text when context is created (as ISO 8601 format string).