From b899c72b79d2e909abf6230239d3c9377fc58899 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Tue, 27 Oct 2026 07:55:43 +0100 Subject: build: single source of truth for the version Version now lives only in [workspace.package] in the root Cargo.toml; all three crates inherit it via version.workspace = true (this also fixes gipfel-core, which had drifted to 0.1.0 while the others were 0.5.4). edition/license are inherited the same way. The About dialog now reads env!("CARGO_PKG_VERSION") instead of a hardcoded string. A new test (changelog_top_matches_version) asserts the top gipfel-X.Y.Z entry in ChangeLog equals the crate version, so the manifest, the About dialog and the ChangeLog cannot drift apart. AGENTS.md gains a "Releasing a new version" section documenting the flow (bump workspace version, add ChangeLog entry, tag, git archive source tarball). --- crates/gipfel-core/Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/gipfel-core') diff --git a/crates/gipfel-core/Cargo.toml b/crates/gipfel-core/Cargo.toml index d8ddfd9..6a66516 100644 --- a/crates/gipfel-core/Cargo.toml +++ b/crates/gipfel-core/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "gipfel-core" -version = "0.1.0" -edition = "2021" +version.workspace = true +edition.workspace = true description = "Port of gipfel's computational core (hills, panorama, projections, least-squares fit, metadata)" -license = "GPL-2.0-or-later" +license.workspace = true [dependencies] kamadak-exif.workspace = true -- cgit v1.2.3