aboutsummaryrefslogtreecommitdiff
path: root/tools/make-packages
diff options
context:
space:
mode:
Diffstat (limited to 'tools/make-packages')
-rwxr-xr-xtools/make-packages2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/make-packages b/tools/make-packages
index 366499d97..6a665ef90 100755
--- a/tools/make-packages
+++ b/tools/make-packages
@@ -60,7 +60,7 @@ then
fi
rel_name='ejabberd'
-rel_vsn=$(git describe | sed -e 's/-g.*//' -e 's/-/./' | tr -d '[:space:]')
+rel_vsn=$(git describe --tags | sed -e 's/-g.*//' -e 's/-/./' | tr -d '[:space:]')
conf_dir="/opt/$rel_name/conf"
pem_file="$conf_dir/server.pem"
tmp_dir=$(mktemp -d "/tmp/.$myself.XXXXXX")