File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ def generate_download_info():
215
215
board_path = os .path .join ("../ports" , port , "boards" )
216
216
for board_path in os .scandir (board_path ):
217
217
if board_path .is_dir ():
218
- board_files = os .listdir (board_path )
218
+ board_files = os .listdir (board_path . path )
219
219
board_id = board_path .name
220
220
board_info = board_mapping [board_id ]
221
221
@@ -239,8 +239,10 @@ def generate_download_info():
239
239
240
240
changes ["new_languages" ] = set (languages ) - previous_languages
241
241
242
- if changes ["new_languages " ]:
242
+ if changes ["new_release " ]:
243
243
create_pr (changes , current_info , git_info )
244
+ else :
245
+ print ("No new release to update" )
244
246
245
247
if __name__ == "__main__" :
246
248
if "TRAVIS_TAG" in os .environ and os .environ ["TRAVIS_TAG" ]:
You can’t perform that action at this time.
0 commit comments