Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-sdk-tools by
Diff: build_release.py
- Revision:
- 24:25bff2709c20
- Parent:
- 13:ab47a20b66f0
- Child:
- 31:182518299918
diff -r fbae331171fa -r 25bff2709c20 build_release.py --- a/build_release.py Sat Jul 16 22:51:17 2016 +0100 +++ b/build_release.py Mon Aug 01 09:10:17 2016 +0100 @@ -28,6 +28,7 @@ from tools.build_api import build_mbed_libs from tools.build_api import write_build_report +from tools.build_api import get_mbed_official_release from tools.targets import TARGET_MAP, TARGET_NAMES from tools.test_exporters import ReportExporter, ResultExporterType from tools.test_api import SingleTestRunner @@ -35,10 +36,7 @@ from tools.paths import TEST_DIR, MBED_LIBRARIES from tools.tests import TEST_MAP -OFFICIAL_MBED_LIBRARY_BUILD = ( - tuple(tuple([TARGET_MAP[target].name, tuple(TARGET_MAP[target].supported_toolchains)]) for target in TARGET_NAMES if TARGET_MAP[target].release) -) - +OFFICIAL_MBED_LIBRARY_BUILD = get_mbed_official_release('2') if __name__ == '__main__': parser = OptionParser()