From c0a71a2d49ba2f47bc4b7902e731419ad5e720c9 Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Mon, 22 Jun 2026 14:58:37 +0200 Subject: [PATCH] chore: bump obikmer to 1.1.6 and automate git tagging Bumps the obikmer crate version from 0.1.4 to 1.1.6 in Cargo.toml and Cargo.lock. Updates the Makefile release target to automatically extract the version, create a Git tag, and push it to the remote repository, extending the existing workflow with standard Git publishing steps. --- Makefile | 4 ++++ src/Cargo.lock | 2 +- src/obikmer/Cargo.toml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 04942bf3..b5f2377d 100644 --- a/Makefile +++ b/Makefile @@ -86,5 +86,9 @@ bump-version: .PHONY: release release: bump-version + @new_version=$$(grep '^version = ' $(CARGO_TOML) | head -n 1 | sed 's/version = "\(.*\)"/\1/'); \ + git tag "v$$new_version" @jj auto-describe @jj git push --change @ + @new_version=$$(grep '^version = ' $(CARGO_TOML) | head -n 1 | sed 's/version = "\(.*\)"/\1/'); \ + git push origin "v$$new_version" diff --git a/src/Cargo.lock b/src/Cargo.lock index 24a2d479..73c688c8 100644 --- a/src/Cargo.lock +++ b/src/Cargo.lock @@ -1704,7 +1704,7 @@ dependencies = [ [[package]] name = "obikmer" -version = "0.1.4" +version = "1.1.6" dependencies = [ "clap", "csv", diff --git a/src/obikmer/Cargo.toml b/src/obikmer/Cargo.toml index 4bc85a97..fc9fdc10 100644 --- a/src/obikmer/Cargo.toml +++ b/src/obikmer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "obikmer" -version = "0.1.4" +version = "1.1.6" edition = "2024" [[bin]] -- 2.54.1