make: use --tags to describe commit
This commit is contained in:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -37,7 +37,7 @@ function check_tag_correct() {
|
||||
fi
|
||||
|
||||
# If a tag is specified, ensure that that tag is present and checked out.
|
||||
if [[ $tag != $(git describe) ]]; then
|
||||
if [[ $tag != $(git describe --tags) ]]; then
|
||||
red "tag $tag not checked out"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user