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 #703 Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
This commit is contained in:
parent
01ed1d4e90
commit
2bdc53ff7c
1 changed files with 1 additions and 1 deletions
|
@ -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-+}"}"
|
||||
|
|
Loading…
Add table
Reference in a new issue