25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Apparently the --tags option is required to properly describe a brand new tag

This commit is contained in:
Badlop 2022-04-22 20:30:23 +02:00
parent ba5b6133cd
commit 985fa24130
3 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,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:]')
mix_vsn=$(mix_version "$rel_vsn")
crosstool_vsn='1.25.0_rc2'
termcap_vsn='1.3.1'

View File

@ -63,7 +63,7 @@ else
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:]')
code_path="/opt/$rel_name-$rel_vsn"
data_path="/opt/$rel_name"
conf_path="$data_path/conf"

View File

@ -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")