build_binaries: add compatability code for git tags

The tags are still called APMrover2-stable rather than Rover-stable - so
cope with that in build_binaries.py for the time being
This commit is contained in:
Peter Barker 2020-04-15 10:54:38 +10:00 committed by Peter Barker
parent 22c9081c83
commit e1e4e6c3c1

View File

@ -117,7 +117,11 @@ is bob we will attempt to checkout bob-AVR'''
if ctag == "latest":
vtag = "master"
else:
vtag = "%s-%s" % (vehicle, ctag)
tagvehicle = vehicle
if tagvehicle == "Rover":
# FIXME: Rover tags in git still named APMrover2 :-(
tagvehicle = "APMrover2"
vtag = "%s-%s" % (tagvehicle, ctag)
branches = []
if cframe is not None: