From 9993f7218687d530846e48306af7f18d164cc8b5 Mon Sep 17 00:00:00 2001 From: Ariel A <24759293+aarant@users.noreply.github.com> Date: Sun, 1 May 2022 14:23:45 -0400 Subject: [PATCH] Updated remote_build to use `--force-with-lease` instead of `--force`. --- remote_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remote_build.sh b/remote_build.sh index a6c8d51f01..03e3e54b1a 100644 --- a/remote_build.sh +++ b/remote_build.sh @@ -12,6 +12,6 @@ make_cmd=$(git config --local remake.make) make_product=$(git config --local remake.src) make_dest=$(git config --local remake.dest) set -x -git push build --force +git push build --force-with-lease ssh $remote_host "cd $remote_path && git reset --hard && git checkout $git_branch && $make_cmd" scp "$remote_host:$remote_path/$make_product" $make_dest