diff options
| author | Riccardo Spagni <ric@spagni.net> | 2017-05-30 21:42:03 +0200 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2017-05-30 21:42:03 +0200 |
| commit | f11d2bc702a33deca60a32494da34efc52c3b3a0 (patch) | |
| tree | 06c263733972e8a946730967afee16cb96b2ca44 /utils.sh | |
| parent | 77448a6b7338b1e62badef56253a59f1ab7ef4d6 (diff) | |
| parent | af1edc0c95f4cbc82c58be0856d3eb66a21d09e6 (diff) | |
| download | monzero-gui-f11d2bc702a33deca60a32494da34efc52c3b3a0.tar.gz monzero-gui-f11d2bc702a33deca60a32494da34efc52c3b3a0.tar.xz monzero-gui-f11d2bc702a33deca60a32494da34efc52c3b3a0.zip | |
Merge pull request #704
af1edc0 fix version info (Jaquee)
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 } |
