From e6a5a4125174ac30e0b9a0572ac582d53bf61458 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 12 Jun 2018 08:31:52 +0200 Subject: lib/load-configuration: check out newest revision --- lib/load-configuration | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib') diff --git a/lib/load-configuration b/lib/load-configuration index ad44577..fc7b0ff 100755 --- a/lib/load-configuration +++ b/lib/load-configuration @@ -147,3 +147,8 @@ if [ "${master_build_server_identity}" = "${work_dir}/.ssh/id_rsa" ] && \ mkdir -p "${master_build_server_identity%/*}" ssh-keygen -b4096 -f "${master_build_server_identity}" fi + +# check out newest revision +if git -C "${base_dir}" status; then + git -C "${base_dir}" pull --ff-only +fi -- cgit v1.2.3-70-g09d2