mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 17:50:14 +01:00
contrib/bkr: detect GIT_TARGETBRANCH for new 1.0-beta builds
This commit is contained in:
parent
7e9f314ed0
commit
7972e184e9
1 changed files with 3 additions and 1 deletions
|
|
@ -570,7 +570,9 @@ class CmdSubmit(CmdBase):
|
|||
if re.match(r'^.*/NetworkManager-0.9.9.1-[1-9][0-9]*\.git20140326\.4dba720\.el7\.x86_64\.rpm$', u):
|
||||
return 'rhel-7.0' # stable rhel-7.0 release
|
||||
if re.match(r'^.*/NetworkManager-0.9.11.0-[0-9]+\.[a-f0-9]+\.el7.x86_64.rpm$', u):
|
||||
return 'master' # current development, pre 1.0
|
||||
return 'master' # upstream pre 1.0
|
||||
if re.match(r'^.*/NetworkManager-0.9[0-9][0-9]+.0.0-[0-9]+\.[a-f0-9]+\.el7.x86_64.rpm$', u):
|
||||
return 'master' # upstream 1.0-beta
|
||||
if re.match(r'^.*/NetworkManager-0.9.10.[0-9]+-[0-9]+\.[a-f0-9]+\.el7.x86_64.rpm$', u):
|
||||
return 'master' # 0.9.10
|
||||
if re.match(r'^.*/NetworkManager-0.9.9.9[0-9]+-[0-9]+\.[a-f0-9]+\.el7.x86_64.rpm$', u):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue