提交 c61f1aa3 编写于 作者: A alexey-milovidov 提交者: GitHub

Merge pull request #341 from proller/debian

move git fetch from libs/libcommon/src/get_revision_lib.sh to release…
......@@ -9,7 +9,6 @@ function get_revision {
CURDIR=`pwd`
cd ${BASEDIR}
git rev-parse --git-dir >/dev/null 2>/dev/null || cd ${CURDIR}
git fetch --tags
git tag | tag_filter | tail -1 | sed 's/^v1\.1\.\(.*\)-testing$/\1/'
cd ${CURDIR}
}
......@@ -61,6 +61,9 @@ function gen_revision_author {
if [[ $STANDALONE != 'yes' ]]
then
#needed for libs/libcommon/src/get_revision_lib.sh
git fetch --tags
# Создадим номер ревизии и попытаемся залить на сервер.
succeeded=0
attempts=0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册