2
0
Fork 0
mirror of https://github.com/mas-cli/mas synced 2025-03-06 23:57:21 +00:00

Use MAS_DIRTY_INDICATOR environment variable to set the dirty workspace indicator for the version output by script/version.

Resolve 

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
This commit is contained in:
Ross Goldberg 2025-01-04 01:14:54 -05:00
parent 01ed1d4e90
commit 2bdc53ff7c
No known key found for this signature in database

View file

@ -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-+}"}"