Skip to content

Commit e2ad5e5

Browse files
authored
Merge pull request #764 from xcp-ng/stormi/allow-test-build-to-lab-tag
koji_build.py: fix XCP-ng release detection for test builds
2 parents f6e7a77 + c7b458d commit e2ad5e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/koji/koji_build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def clean_old_branches(git_repo):
109109
subprocess.check_call(['git', 'push', '--delete', 'origin'] + old_branches)
110110

111111
def xcpng_version(target):
112-
xcpng_version_match = re.match(r'^v(\d+\.\d+)-u-\S+$', target)
112+
xcpng_version_match = re.match(r'^v(\d+\.\d+)-\S+$', target)
113113
if xcpng_version_match is None:
114114
raise Exception(f"Can't find XCP-ng version in {target}")
115115
return xcpng_version_match.group(1)

0 commit comments

Comments
 (0)