mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
CI: added --force to git tags --fetch
needed for new git version after server upgrade
This commit is contained in:
parent
663a41a1f0
commit
4ba151151c
@ -8,7 +8,7 @@ cd $HOME/APM || exit 1
|
||||
test -n "$FORCEBUILD" || {
|
||||
(cd APM && git fetch > /dev/null 2>&1)
|
||||
|
||||
newtags=$(cd APM && git fetch --tags | wc -l)
|
||||
newtags=$(cd APM && git fetch --tags --force | wc -l)
|
||||
oldhash=$(cd APM && git rev-parse origin/master)
|
||||
newhash=$(cd APM && git rev-parse HEAD)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user