Skip to content

Commit

Permalink
Merge pull request #704 from rgoldberg/703-dirty-indicator
Browse files Browse the repository at this point in the history
Use `MAS_DIRTY_INDICATOR` environment variable to set the dirty workspace indicator for the version output by `script/version`
  • Loading branch information
rgoldberg authored Jan 4, 2025
2 parents 01ed1d4 + 2bdc53f commit a5a928a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/version
Original file line number Diff line number Diff line change
Expand Up @@ -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-+}"}"

0 comments on commit a5a928a

Please sign in to comment.