From d3ee69924b782d792c46dd77208737475d28c20b Mon Sep 17 00:00:00 2001 From: Rongfeng Fu Date: Wed, 20 Apr 2022 18:01:31 +0800 Subject: [PATCH] v1.3.2 (#106) --- core.py | 3 ++- rpm/build.sh | 2 +- rpm/ob-deploy.spec | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/core.py b/core.py index 2380edf..4194a94 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 56e2cf7..30ec8f7 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 91f08e5..76b7ac2 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 -- GitLab