From 899d66585aa5c98703b1b178cc5c40fa34469d27 Mon Sep 17 00:00:00 2001 From: jutty Date: Wed, 18 Feb 2026 16:38:52 -0300 Subject: [PATCH] Add lockfile version check to version-assess --- .justfile | 5 ++++- Cargo.lock | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.justfile b/.justfile index 565a8ce..d2fbf1e 100644 --- a/.justfile +++ b/.justfile @@ -238,8 +238,11 @@ alias v := verify version-assess: last_tag=$(git describe --tags --abbrev=0 \ $(git rev-list --tags --max-count=1) | tr -d v) - manifest_version=$(cat Cargo.toml | grep '^version' | cut -d \" -f 2) + manifest_version=$(grep '^version' Cargo.toml | cut -d \" -f 2) + lockfile_version=$(grep -A 1 'name = "en"' Cargo.lock | + grep version | cut -d '"' -f 2) [ "$last_tag" = "$manifest_version" ] + [ "$last_tag" = "$lockfile_version" ] # BUILD diff --git a/Cargo.lock b/Cargo.lock index 82dd28d..56b9eff 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -259,7 +259,7 @@ dependencies = [ [[package]] name = "en" -version = "0.1.2" +version = "0.1.3" dependencies = [ "axum", "serde",