Updated remote_build to use --force-with-lease
instead of --force
.
This commit is contained in:
parent
7d4015dc5f
commit
9993f72186
1 changed files with 1 additions and 1 deletions
|
@ -12,6 +12,6 @@ make_cmd=$(git config --local remake.make)
|
||||||
make_product=$(git config --local remake.src)
|
make_product=$(git config --local remake.src)
|
||||||
make_dest=$(git config --local remake.dest)
|
make_dest=$(git config --local remake.dest)
|
||||||
set -x
|
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"
|
ssh $remote_host "cd $remote_path && git reset --hard && git checkout $git_branch && $make_cmd"
|
||||||
scp "$remote_host:$remote_path/$make_product" $make_dest
|
scp "$remote_host:$remote_path/$make_product" $make_dest
|
||||||
|
|
Loading…
Reference in a new issue