mirror of https://github.com/ArduPilot/ardupilot
autotest: no need to check other repos now
we don't need to check other repos now we use submodules for all code
This commit is contained in:
parent
36ef4d422c
commit
72e4ed5665
|
@ -13,22 +13,11 @@ newtags=$(cd APM && git fetch --tags | wc -l)
|
|||
oldhash=$(cd APM && git rev-parse origin/master)
|
||||
newhash=$(cd APM && git rev-parse HEAD)
|
||||
|
||||
newtagspx4=$(cd PX4Firmware && git fetch --tags | wc -l)
|
||||
oldhashpx4=$(cd PX4Firmware && git rev-parse origin/master)
|
||||
newhashpx4=$(cd PX4Firmware && git rev-parse HEAD)
|
||||
|
||||
newtagsnuttx=$(cd PX4NuttX && git fetch --tags | wc -l)
|
||||
oldhashnuttx=$(cd PX4NuttX && git rev-parse origin/master)
|
||||
newhashnuttx=$(cd PX4NuttX && git rev-parse HEAD)
|
||||
|
||||
newtagsuavcan=$(cd uavcan && git fetch --tags | wc -l)
|
||||
oldhashuavcan=$(cd uavcan && git rev-parse origin/master)
|
||||
newhashuavcan=$(cd uavcan && git rev-parse HEAD)
|
||||
|
||||
if [ "$oldhash" = "$newhash" -a "$newtags" = "0" -a "$oldhashpx4" = "$newhashpx4" -a "$newtagspx4" = "0" -a "$oldhashnuttx" = "$newhashnuttx" -a "$newtagsnuttx" = "0" -a "$oldhashuavcan" = "$newhashuavcan" -a "$newtagsuavcan" = "0" ]; then
|
||||
echo "no change $oldhash $newhash `date`" >> build.log
|
||||
if [ "$oldhash" = "$newhash" -a "$newtags" = "0" ]; then
|
||||
echo "$(date) no change $oldhash $newhash" >> build.log
|
||||
exit 0
|
||||
fi
|
||||
echo "$(date) Build triggered $oldhash $newhash $newtags" >> build.log
|
||||
}
|
||||
|
||||
############################
|
||||
|
|
Loading…
Reference in New Issue