contrib/rh-bkr: add current 7.2

This commit is contained in:
Lubomir Rintel 2015-07-01 16:54:12 +02:00
parent 9ad83cf2ba
commit 42fa7fccdb

View file

@ -594,6 +594,8 @@ class CmdSubmit(CmdBase):
return 'rhel-7' # upstream 1.0
if re.match(r'^.*/NetworkManager-1.0.[0-9]+-[0-9]+\.git20160622\.9c83d18d\.el7.x86_64.rpm$', u):
return 'rhel-7' # rhel-7.2-rc
if re.match(r'^.*/NetworkManager-1.0.[0-9]+-[0-9]+\.git20160624\.f245b49a\.el7.x86_64.rpm$', u):
return 'rhel-7' # rhel-7.2-rc
if re.match(r'^.*/NetworkManager-1.1.[0-9]+-[0-9]+\.[a-f0-9]+\.el7.x86_64.rpm$', u):
return 'master' # upstream 1.1
raise Exception("could not detect the target branch. Try setting as environment variable GIT_TARGETBRANCH%s" % (