mirror of
https://github.com/mas-cli/mas
synced 2025-03-06 23:57:21 +00:00
Merge pull request #704 from rgoldberg/703-dirty-indicator
Use `MAS_DIRTY_INDICATOR` environment variable to set the dirty workspace indicator for the version output by `script/version`
This commit is contained in:
commit
a5a928a2e6
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