Add lockfile version check to version-assess
This commit is contained in:
parent
d8723372ec
commit
1cd6545c4a
3 changed files with 6 additions and 3 deletions
|
|
@ -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
2
Cargo.lock
generated
|
|
@ -259,7 +259,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "en"
|
||||
version = "0.1.2"
|
||||
version = "0.1.5"
|
||||
dependencies = [
|
||||
"axum",
|
||||
"serde",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "en"
|
||||
version = "0.1.3"
|
||||
version = "0.1.5"
|
||||
description = "A non-linear writing instrument."
|
||||
license = "AGPL-3.0-only"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue