Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
349e4c4a
Commit
349e4c4a
authored
May 03, 2014
by
Damien George
Browse files
py: Add --dirty flag to git describe.
parent
6ec835df
Changes
1
Hide whitespace changes
Inline
Side-by-side
py/py-version.sh
View file @
349e4c4a
#!/bin/bash
git_tag
=
"
$(
git describe
||
echo
unknown
)
"
git_tag
=
"
$(
git describe
--dirty
||
echo
unknown
)
"
git_hash
=
"
$(
git rev-parse
--short
HEAD 2> /dev/null
||
echo
unknown
)
"
git_files_are_clean
=
1
# Check if there are any modified files.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment