We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4f73801 + 96e65fa commit c3c600dCopy full SHA for c3c600d
tools/build_board_info.py
@@ -215,7 +215,7 @@ def generate_download_info():
215
board_path = os.path.join("../ports", port, "boards")
216
for board_path in os.scandir(board_path):
217
if board_path.is_dir():
218
- board_files = os.listdir(board_path)
+ board_files = os.listdir(board_path.path)
219
board_id = board_path.name
220
board_info = board_mapping[board_id]
221
@@ -239,8 +239,10 @@ def generate_download_info():
239
240
changes["new_languages"] = set(languages) - previous_languages
241
242
- if changes["new_languages"]:
+ if changes["new_release"]:
243
create_pr(changes, current_info, git_info)
244
+ else:
245
+ print("No new release to update")
246
247
if __name__ == "__main__":
248
if "TRAVIS_TAG" in os.environ and os.environ["TRAVIS_TAG"]:
0 commit comments