diff --git a/.justfile b/.justfile index 0799a57..64a65ee 100644 --- a/.justfile +++ b/.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 diff --git a/Cargo.lock b/Cargo.lock index 8d55376..59a26da 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -259,7 +259,7 @@ dependencies = [ [[package]] name = "en" -version = "0.1.5" +version = "0.1.6" dependencies = [ "axum", "serde", diff --git a/Cargo.toml b/Cargo.toml index c81f624..2c25b9b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"