summaryrefslogtreecommitdiffstats
path: root/packaging/makeself
diff options
context:
space:
mode:
authorPaul Emm. Katsoulakis <34388743+paulkatsoulakis@users.noreply.github.com>2019-04-13 10:52:29 +0300
committerGitHub <noreply@github.com>2019-04-13 10:52:29 +0300
commit065523a43c381f3e63a7d434756499e85b52efdd (patch)
treed92cd60f434b1b9ad17dda554c5a82081a808ef1 /packaging/makeself
parent396eb4e005eeabfb8f16b80a29a496950face0de (diff)
netdata/packaging/installer: Dont use --always, when git describe cant find a tag we have the alternative of packaging/version content file (#5860)
Diffstat (limited to 'packaging/makeself')
-rwxr-xr-xpackaging/makeself/jobs/99-makeself.install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/makeself/jobs/99-makeself.install.sh b/packaging/makeself/jobs/99-makeself.install.sh
index 182c0b57ef..f3056e6aca 100755
--- a/packaging/makeself/jobs/99-makeself.install.sh
+++ b/packaging/makeself/jobs/99-makeself.install.sh
@@ -8,7 +8,7 @@ run cd "${NETDATA_SOURCE_PATH}" || exit 1
# -----------------------------------------------------------------------------
# find the netdata version
-VERSION="$(git describe --always 2>/dev/null)"
+VERSION="$(git describe 2>/dev/null)"
if [ -z "${VERSION}" ]; then
VERSION=$(cat packaging/version)
fi