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

Merge pull request 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:
Ross Goldberg 2025-01-04 02:01:59 -05:00 committed by GitHub
commit a5a928a2e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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