mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-02 14:07:26 -04:00
Fix version string by picking up unannotated tags
This commit is contained in:
2
utils.sh
2
utils.sh
@@ -54,7 +54,7 @@ function get_tag()
|
|||||||
VERSIONTAG="$COMMIT"
|
VERSIONTAG="$COMMIT"
|
||||||
fi
|
fi
|
||||||
# save tag name + commit if availible
|
# save tag name + commit if availible
|
||||||
TAGNAME=$(git describe | sed -e 's/[\t ]*//')
|
TAGNAME=$(git describe --tags | sed -e 's/[\t ]*//')
|
||||||
if test -z "$TAGNAME"
|
if test -z "$TAGNAME"
|
||||||
then
|
then
|
||||||
TAGNAME="$VERSIONTAG"
|
TAGNAME="$VERSIONTAG"
|
||||||
|
|||||||
Reference in New Issue
Block a user