Reuse release version if nothing changed (#609)

This commit is contained in:
proller 2017-03-17 18:22:41 +03:00 committed by GitHub
parent 9cf97911db
commit afa46072d5

View File

@ -105,6 +105,9 @@ function gen_revision_author {
sed -i -- "s/VERSION_DESCRIBE .*)/VERSION_DESCRIBE $git_describe)/g" dbms/cmake/version.cmake
git commit -m "$auto_message [$REVISION]" dbms/cmake/version.cmake
# git push
else
REVISION=$(get_revision)
echo reusing old version $REVISION
fi
fi