Skip to content

Commit c3cf652

Browse files
authored
Change both version strings
Doesn't require a patch to be done simultaneously
1 parent 26375aa commit c3cf652

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

circuitpython_build_tools/build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ def _munge_to_temp(original_path, temp_file, library_version):
139139
else:
140140
line = line.decode("utf-8").strip("\n")
141141
if line.startswith("__version__"):
142+
line = line.replace("0.0.0-auto.0", library_version)
142143
line = line.replace("0.0.0+auto.0", library_version)
143144
temp_file.write(line.encode("utf-8") + b"\r\n")
144145
temp_file.flush()

0 commit comments

Comments
 (0)