diff options
| author | Jaquee <jaquee.monero@gmail.com> | 2017-05-02 20:01:49 +0200 |
|---|---|---|
| committer | Jaquee <jaquee.monero@gmail.com> | 2017-05-02 20:19:11 +0200 |
| commit | af1edc0c95f4cbc82c58be0856d3eb66a21d09e6 (patch) | |
| tree | d06bf992f58d4fa05fcdae4847309257979c5be1 /utils.sh | |
| parent | 4ca35af11ac8b41192bdb373216513e524ee4cb0 (diff) | |
| download | monzero-gui-af1edc0c95f4cbc82c58be0856d3eb66a21d09e6.tar.gz monzero-gui-af1edc0c95f4cbc82c58be0856d3eb66a21d09e6.tar.xz monzero-gui-af1edc0c95f4cbc82c58be0856d3eb66a21d09e6.zip | |
fix version info
Diffstat (limited to 'utils.sh')
| -rwxr-xr-x | utils.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -53,6 +53,12 @@ function get_tag() echo "You are ahead of or behind a tagged release" VERSIONTAG="$COMMIT" fi + # save tag name + commit if availible + TAGNAME=$(git describe | sed -e 's/[\t ]*//') + if test -z "$TAGNAME" + then + TAGNAME="$VERSIONTAG" + fi fi fi } |
