From 2bdc53ff7cb0e620e5a2d74b42103e88fc032271 Mon Sep 17 00:00:00 2001 From: Ross Goldberg <484615+rgoldberg@users.noreply.github.com> Date: Sat, 4 Jan 2025 01:14:54 -0500 Subject: [PATCH] Use `MAS_DIRTY_INDICATOR` environment variable to set the dirty workspace indicator for the version output by `script/version`. Resolve #703 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 9587da37..bf3bd73c 100755 --- a/script/version +++ b/script/version @@ -10,4 +10,4 @@ printf $'%s%s\n'\ "${"$(git describe --tags 2>/dev/null)"#v}"\ - "${"$(git diff-index HEAD --;git ls-files --exclude-standard --others)":++}" + "${"$(git diff-index HEAD --;git ls-files --exclude-standard --others)":+"${MAS_DIRTY_INDICATOR-+}"}"