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 @@ -145,8 +145,10 @@ def check_lib_links_md(bundle_path):
145
145
bundle = None
146
146
if "Adafruit_CircuitPython_Bundle" in bundle_path :
147
147
bundle = "adafruit"
148
+ listfile_name = "circuitpython_library_list.md"
148
149
elif "CircuitPython_Community_Bundle" in bundle_path :
149
150
bundle = "community"
151
+ listfile_name = "circuitpython_community_auto_library_list.md"
150
152
else :
151
153
return []
152
154
submodules_list = sorted (
@@ -158,7 +160,7 @@ def check_lib_links_md(bundle_path):
158
160
# used to generate commit message by comparing new libs to current list
159
161
try :
160
162
with open (
161
- os .path .join (bundle_path , "circuitpython_library_list.md" ), "r"
163
+ os .path .join (bundle_path , listfile_name ), "r"
162
164
) as lib_list :
163
165
read_lines = lib_list .read ().splitlines ()
164
166
except OSError :
@@ -203,7 +205,7 @@ def check_lib_links_md(bundle_path):
203
205
]
204
206
205
207
with open (
206
- os .path .join (bundle_path , "circuitpython_library_list.md" ), "w"
208
+ os .path .join (bundle_path , listfile_name ), "w"
207
209
) as md_file :
208
210
md_file .write ("\n " .join (lib_list_header ))
209
211
for line in sorted (write_drivers ):
You can’t perform that action at this time.
0 commit comments