Add logging to version consistency check
This commit is contained in:
parent
4bcd207281
commit
4402ad3e4c
3 changed files with 12 additions and 4 deletions
12
.justfile
12
.justfile
|
|
@ -241,8 +241,16 @@ version-assess:
|
|||
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" ]
|
||||
if
|
||||
[ "$last_tag" != "$manifest_version" ] ||
|
||||
[ "$last_tag" != "$lockfile_version" ]
|
||||
then
|
||||
printf 'Last tag: %s\nManifest: %s\nLockfile: %s\n' \
|
||||
"$last_tag" "$manifest_version" "$lockfile_version"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
alias va := version-assess
|
||||
|
||||
# BUILD
|
||||
|
||||
|
|
|
|||
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -259,7 +259,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "en"
|
||||
version = "0.1.5"
|
||||
version = "0.1.6"
|
||||
dependencies = [
|
||||
"axum",
|
||||
"serde",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "en"
|
||||
version = "0.1.5"
|
||||
version = "0.1.6"
|
||||
description = "A non-linear writing instrument."
|
||||
license = "AGPL-3.0-only"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue