assets/tools/deploy-python.sh: updated.

This commit is contained in:
Lucio Andrés Illanes Albornoz 2019-09-04 16:13:47 +02:00
parent b9f271297c
commit bd83513689

View File

@ -26,7 +26,7 @@ deploy() {
-not -name '*.sw*' \ -not -name '*.sw*' \
-not -name "${0##*/}" |\ -not -name "${0##*/}" |\
cpio --quiet -dLmp "${_release_dname}"; cpio --quiet -dLmp "${_release_dname}";
sed -i"" "s/__ROAR_RELEASE_GIT_SHORT_REV__/${_release_version}/" "${_release_dname}/libcanvas/CanvasInterface.py"; sed -i"" "s/__ROAR_RELEASE_GIT_SHORT_REV__/${_release_version}/" "${_release_dname}/libgui/GuiCanvasInterface.py";
cd "${RELEASES_DNAME}"; cd "${RELEASES_DNAME}";
if [ "${_vflag:-0}" -eq 0 ]; then if [ "${_vflag:-0}" -eq 0 ]; then
zip -9 -r "${_release_fname##${RELEASES_DNAME}/}" "${_release_dname##${RELEASES_DNAME}/}" >/dev/null; zip -9 -r "${_release_fname##${RELEASES_DNAME}/}" "${_release_dname##${RELEASES_DNAME}/}" >/dev/null;