Skip to content

Commit 3490a89

Browse files
committed
fix version split
1 parent 45d64e3 commit 3490a89

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/check-devedition.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Check new devedition version
22

33
on:
44
schedule:
5-
- cron: "56 * * * *"
5+
- cron: "18 * * * *"
66
env:
77
LATEST: ""
88
permissions:

modules/testrail_integration.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,10 @@ def reportable(platform_to_test=None):
9898
logging.warning(f"Got version from collect_executable.py! {version}")
9999
tr_session = testrail_init()
100100
major_number, second_half = version.split(".")
101-
minor_num, build_num = second_half.split("-")
101+
if "-" in second_half:
102+
minor_num, _ = second_half.split("-")
103+
else:
104+
minor_num = second_half
102105
channel = os.environ.get("FX_CHANNEL").title()
103106
if not channel:
104107
if "b" in minor_num:

0 commit comments

Comments
 (0)