From 4390d8083a59781263ba54631dde407d05989390 Mon Sep 17 00:00:00 2001 From: mlange-42 Date: Tue, 1 Dec 2026 20:22:22 +0100 Subject: [PATCH 1/2] Fix lock file, add check to CI --- .github/workflows/tests.yml | 3 +++ CHANGELOG.md | 5 +++++ Cargo.lock | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5866ee2..65dfeea 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,6 +19,9 @@ jobs: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable + - name: Check that Cargo.lock is up to date + run: cargo check --locked --all + - name: Run cargo test uses: actions-rs/cargo@v1 with: diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d028bb..12043d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [unreleased] +### Fixed + +- Inconsistent version number in Cargo.toml and Cargo.lock + (and add a CI check to prevent this happening again) + ## [0.9.0] - 2026-12-01 diff --git a/Cargo.lock b/Cargo.lock index 7ee1a71..e3f9b9b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -333,7 +333,7 @@ dependencies = [ [[package]] name = "git-graph" -version = "0.8.3" +version = "0.9.0" dependencies = [ "atty", "chrono", From c1bd6bde74cc774d64125af2c7b8a0e200646558 Mon Sep 17 00:00:00 2001 From: Peer Sommerlund Date: Tue, 1 Dec 2026 06:41:23 +0100 Subject: [PATCH 2/2] Increment version to 0.9.1 Version 0.9.0 had an inconsistent Cargo.lock It is better to release a new version, than to release a version twice, therefore 0.9.1 with nothing else changed. --- CHANGELOG.md | 3 +++ Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 12043d4..e0525e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [unreleased] + +## [0.9.1] - 2026-12-01 + ### Fixed - Inconsistent version number in Cargo.toml and Cargo.lock diff --git a/Cargo.lock b/Cargo.lock index e3f9b9b..0b28aed 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -333,7 +333,7 @@ dependencies = [ [[package]] name = "git-graph" -version = "0.9.0" +version = "0.9.1" dependencies = [ "atty", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 88ac9db..b26e8c5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "git-graph" -version = "0.9.0" +version = "0.9.1" authors = ["Martin Lange "] description = "Command line tool to show clear git graphs arranged for your branching model" repository = "https://github.com/mlange-42/git-graph.git"