Update run.sh
This commit is contained in:
parent
7be6c9ad86
commit
c0b7e592e4
3
run.sh
3
run.sh
@ -32,6 +32,7 @@ do
|
|||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
git reset --hard >> $log 2>&1
|
||||||
git checkout $latest_commit >> $log 2>&1
|
git checkout $latest_commit >> $log 2>&1
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Git checkout failed. For more details, see $log"
|
echo "Git checkout failed. For more details, see $log"
|
||||||
@ -53,4 +54,4 @@ do
|
|||||||
fi
|
fi
|
||||||
)
|
)
|
||||||
sleep $delay
|
sleep $delay
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user