Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Commit

Permalink
schedule.py: make sure dev version > lr version > ltr version
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Nov 18, 2023
1 parent 9a1d54c commit 7547a24
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/update-schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@ def adduid(ev, uid):
rn = re.search("^set\(RELEASE_NAME \"(.*)\"\)$", cm, re.MULTILINE).group(1)
assert n==rn, f"Expected {n}, found {rn}"

assert lr_version.split(".") > ltr_version.split("."), f"LR {lr_version} not higher than {ltr_version}"
assert devversion.split(".") > lr_version.split("."), f"DEV {devversion} not higher than {lr_version}"

o = open("source/schedule.py", "w")

shortver = "".join(lr_version.split(".")[:2])
Expand Down

0 comments on commit 7547a24

Please sign in to comment.