autotest: check for new build tags
This commit is contained in:
parent
12c35da9aa
commit
4a02af088b
@ -8,9 +8,10 @@ cd $HOME/APM || exit 1
|
||||
|
||||
test -n "$FORCEBUILD" || {
|
||||
(cd APM && git fetch > /dev/null 2>&1)
|
||||
newtags=$(cd APM && git fetch --tags | wc -l)
|
||||
oldhash=$(cd APM && git rev-parse origin/master)
|
||||
newhash=$(cd APM && git rev-parse HEAD)
|
||||
if [ "$oldhash" = "$newhash" ]; then
|
||||
if [ "$oldhash" = "$newhash" -a "$newtags" = "0" ]; then
|
||||
echo "no change $oldhash $newhash `date`" >> build.log
|
||||
exit 0
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user