From e1e4e6c3c1a883a832460d2dbbd27b2ac19572cd Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 15 Apr 2020 10:54:38 +1000 Subject: [PATCH] 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 --- Tools/scripts/build_binaries.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Tools/scripts/build_binaries.py b/Tools/scripts/build_binaries.py index 0f8698b982..b7fe0ba6a1 100755 --- a/Tools/scripts/build_binaries.py +++ b/Tools/scripts/build_binaries.py @@ -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: