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:
parent
ba5b6133cd
commit
985fa24130
@ -63,7 +63,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
rel_name='ejabberd'
|
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")
|
mix_vsn=$(mix_version "$rel_vsn")
|
||||||
crosstool_vsn='1.25.0_rc2'
|
crosstool_vsn='1.25.0_rc2'
|
||||||
termcap_vsn='1.3.1'
|
termcap_vsn='1.3.1'
|
||||||
|
@ -63,7 +63,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
rel_name='ejabberd'
|
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"
|
code_path="/opt/$rel_name-$rel_vsn"
|
||||||
data_path="/opt/$rel_name"
|
data_path="/opt/$rel_name"
|
||||||
conf_path="$data_path/conf"
|
conf_path="$data_path/conf"
|
||||||
|
@ -60,7 +60,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
rel_name='ejabberd'
|
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"
|
conf_dir="/opt/$rel_name/conf"
|
||||||
pem_file="$conf_dir/server.pem"
|
pem_file="$conf_dir/server.pem"
|
||||||
tmp_dir=$(mktemp -d "/tmp/.$myself.XXXXXX")
|
tmp_dir=$(mktemp -d "/tmp/.$myself.XXXXXX")
|
||||||
|
Loading…
Reference in New Issue
Block a user