From 41c1f6208f6d949c6d27b1fdc3466bebc23f07cb Mon Sep 17 00:00:00 2001 From: Ross Goldberg <484615+rgoldberg@users.noreply.github.com> Date: Thu, 21 Nov 2024 02:11:44 -0500 Subject: [PATCH] Output full `git describe --tags` to indicate number of commits since tag & current revision for local (i.e. non-release builds), since releases should all be for a version tagged revision. Partial #638 Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com> --- script/version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/version b/script/version index 14581650..781f855a 100755 --- a/script/version +++ b/script/version @@ -13,5 +13,5 @@ if ! cd -- "${mas_dir}"; then exit 1 fi -version_tag="$(git describe --abbrev=0 --tags 2>/dev/null)" +version_tag="$(git describe --tags 2>/dev/null)" printf $'%s\n' "${version_tag#v}"