Skip to content

Commit 722997e

Browse files
committed
fix: avoid exclusion of v0.12.2.3 from platform identifier
v0.12.2.3 is the last version to use the old platform identification scheme but the less than check inadvertently excludes it. Let's correct that and set it to less than the v0.12.3.x series instead as that marks the start the newer identification scheme
1 parent fb2648a commit 722997e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/get_previous_releases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def download_binary(tag, args) -> int:
130130
platform = "win32"
131131
elif platform in ["x86_64-w64-mingw32"]:
132132
platform = "win64"
133-
elif tag < "v0.12.2.3":
133+
elif tag < "v0.12.3":
134134
if platform in ["arm-linux-gnueabihf"]:
135135
platform = "RPi2"
136136
elif platform in ["x86_64-apple-darwin", "arm64-apple-darwin"]:

0 commit comments

Comments
 (0)