Quick Start
Seal reads seal.toml from the current project directory. A minimal configuration tracks the
current version and the files containing it.
Configure a Project
Create seal.toml in the project root:
| TOML | |
|---|---|
1 2 3 4 5 | |
This updates package.version without replacing unrelated occurrences of 0.1.0 in
Cargo.toml. Validate the configuration before the first release:
| Bash Session | |
|---|---|
1 | |
Preview a Version Bump
Preview a patch release without modifying files:
| Bash Session | |
|---|---|
1 | |
Seal accepts major, minor, patch, pre-release bumps such as alpha or minor-beta, and
explicit semantic versions such as 1.0.0-rc.1.
Apply the Release
Run the command without --dry-run:
| Bash Session | |
|---|---|
1 | |
Seal shows the proposed diff and asks for confirmation before writing files. To prepare a release
branch and commit in the same operation, add templates containing {version}:
| TOML | |
|---|---|
1 2 3 4 5 6 7 | |
Set push = true to push the configured release branch. Seal rejects push = true unless a branch
name is configured.
See Bumping Versions for other file formats and pre-commit commands, or the configuration reference for every option.