Browse Source

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
zr-v5.1
Peter Barker 5 years ago committed by Peter Barker
parent
commit
e1e4e6c3c1
  1. 6
      Tools/scripts/build_binaries.py

6
Tools/scripts/build_binaries.py

@ -117,7 +117,11 @@ is bob we will attempt to checkout bob-AVR''' @@ -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:

Loading…
Cancel
Save