diff --git a/CHANGELOG.md b/CHANGELOG.md index 47874b6..3bb74a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,11 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/). ## [Unreleased] +## [0.3.1] - 2026-04-16 + ### Added -- `--version` / `-V` flag prints the CLI version (e.g. `mmcif-dict 0.3.0`) and +- `--version` / `-V` flag prints the CLI version (e.g. `mmcif-dict 0.3.1`) and exits; the version is sourced from `build.zig.zon` via a build option so it - stays in sync with the release automatically (#36) + stays in sync with the release automatically (#37) ## [0.3.0] - 2026-04-16 diff --git a/build.zig.zon b/build.zig.zon index 1ab6bf1..30567f0 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -9,7 +9,7 @@ .name = .mmcif_dict_cli, // This is a [Semantic Version](https://semver.org/). // In a future version of Zig it will be used for package deduplication. - .version = "0.3.0", + .version = "0.3.1", // Together with name, this represents a globally unique package // identifier. This field is generated by the Zig toolchain when the // package is first created, and then *never changes*. This allows