Skip to content

Commit

Permalink
Use MAS_DIRTY_INDICATOR environment variable to set the dirty works…
Browse files Browse the repository at this point in the history
…pace indicator for the version output by `script/version`.

Resolve #703

Signed-off-by: Ross Goldberg <[email protected]>
  • Loading branch information
rgoldberg committed Jan 4, 2025
1 parent 01ed1d4 commit 2bdc53f
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 2bdc53f

Please sign in to comment.