Add lockfile version check to version-assess
Some checks failed
/ verify (push) Has been cancelled
/ publish (push) Has been cancelled

This commit is contained in:
Juno Takano 2026-02-18 16:38:52 -03:00
commit 899d66585a
2 changed files with 5 additions and 2 deletions

View file

@ -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

2
Cargo.lock generated
View file

@ -259,7 +259,7 @@ dependencies = [
[[package]]
name = "en"
version = "0.1.2"
version = "0.1.3"
dependencies = [
"axum",
"serde",