Skip to content

Commit

Permalink
[build] Fix incorrect installer version check.
Browse files Browse the repository at this point in the history
  • Loading branch information
Breakthrough committed Jun 27, 2024
1 parent f78c7f7 commit 8d7d26c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions dist/pre_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@
installer_aip = ''
with open("dist/installer/PySceneDetect.aip", "r") as f:
installer_aip = f.read()

aip_version = f"<ROW Property=\"ProductVersion\" Value=\"{VERSION}\" Options=\"32\"/>"

assert aip_version in installer_aip, f"Installer project version does not match {VERSION}."
aip_version = f"<ROW Property=\"ProductVersion\" Value=\"{VERSION}\" Options=\"32\"/>"
assert aip_version in installer_aip, f"Installer project version does not match {VERSION}."

with open("dist/.version_info", "wb") as f:
v = VERSION.split(".")
Expand Down

0 comments on commit 8d7d26c

Please sign in to comment.