[kteam-tools PATCH] verify-release-ready: fix tag name check for hwe builds
Kleber Sacilotto de Souza
kleber.souza at canonical.com
Tue May 2 15:53:34 UTC 2017
The -hwe and -hwe-edge also carry the target series number (e.g.
'~14.04.1') on the version and on the tag names.
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza at canonical.com>
---
maintscripts/verify-release-ready | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/maintscripts/verify-release-ready b/maintscripts/verify-release-ready
index a0390aa5..7ac85c7c 100755
--- a/maintscripts/verify-release-ready
+++ b/maintscripts/verify-release-ready
@@ -200,9 +200,10 @@ class VerifyReleaseReady():
if config.read('debian/gbp.conf'):
expect_tag_format = config.get('buildpackage', 'debian-tag')
v = version
- # Starting with trusty, the lts backports closing commit and the tag
- # contain '~<series_version>' (e.g. '~14.04.1')
- if 'linux-lts-' in cl1['package']:
+ # Starting with trusty, the lts and hwe backports closing commit and the tag
+ # contain '~<series_version>', where <series_version> is the series which the
+ # kernel is backported to (e.g. '~14.04.1')
+ if 'linux-lts-' in cl1['package'] or 'linux-hwe' in cl1['package']:
v = cl1['version']
expect_tag = expect_tag_format % {'version' : v}
s.verify_tag(log, expect_tag)
--
2.11.0
More information about the kernel-team
mailing list