diff --git a/core.py b/core.py index 2380edf6fb81a09067a3a0810cb13c802547ffd8..4194a947b0e3042bb1eea9222b6759d5de47728e 100644 --- a/core.py +++ b/core.py @@ -649,10 +649,11 @@ class ObdHome(object): self._call_stdio('verbose', '%s %s installing' % (server, repository)) if not client.put_file(file_path, remote_file_path): self._call_stdio('stop_loading', 'fail') - return + return False client.put_file(repository.data_file_path, remote_repository_data_path) self._call_stdio('verbose', '%s %s installed' % (server, repository.name)) self._call_stdio('stop_loading', 'succeed') + return True def servers_repository_lib_check(self, ssh_clients, servers, repository, install_plugin, msg_lv='error'): ret = True diff --git a/rpm/build.sh b/rpm/build.sh index 56e2cf7f30583b9062cbecd06c15be307dccb1b9..30ec8f70619d95bb6ce8f5c011f6a8467a9f43ec 100755 --- a/rpm/build.sh +++ b/rpm/build.sh @@ -2,7 +2,7 @@ python_bin='python' W_DIR=`pwd` -VERSION=${VERSION:-'1.3.1'} +VERSION=${VERSION:-'1.3.2'} function python_version() diff --git a/rpm/ob-deploy.spec b/rpm/ob-deploy.spec index 91f08e5517f55e86128a149a75917071030ad946..76b7ac2d98829885f7abeb5bc3a2275e9828ed61 100644 --- a/rpm/ob-deploy.spec +++ b/rpm/ob-deploy.spec @@ -114,6 +114,8 @@ echo -e 'Installation of obd finished successfully\nPlease source /etc/profile.d #/sbin/chkconfig obd on %changelog +* Wed Apr 20 2022 obd 1.3.2 + - fix bug: remote install will return None when success * Wed Apr 20 2022 obd 1.3.1 - new features: some alarm levels will be reduced when developer mode is turned on - fix bug: fail to connect obproxy when upgrade