diff mbox

[kteam-tools] Make maint-startnewrelease work with azure tree

Message ID 1493314599-32515-1-git-send-email-stefan.bader@canonical.com
State New
Headers show

Commit Message

Stefan Bader April 27, 2017, 5:36 p.m. UTC
From eb69e8475c1620cccfe971b57c6a2d9662647684 Mon Sep 17 00:00:00 2001
From: Stefan Bader <stefan.bader@canonical.com>
Date: Thu, 27 Apr 2017 19:34:20 +0200
Subject: [PATCH] maint-startnewrelease: Support azure tags

Azure is also using the "Ubuntu-azure-..." tag style. Add another
handler for that.

Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
---
 maintscripts/maint-startnewrelease | 2 ++
 1 file changed, 2 insertions(+)

Comments

Marcelo Henrique Cerri April 28, 2017, 5:14 p.m. UTC | #1

Stefan Bader May 2, 2017, 10:28 a.m. UTC | #2

diff mbox

Patch

diff --git a/maintscripts/maint-startnewrelease b/maintscripts/maint-startnewrelease
index f66360f..38a8a51 100755
--- a/maintscripts/maint-startnewrelease
+++ b/maintscripts/maint-startnewrelease
@@ -140,6 +140,8 @@  if os.path.isdir(os.path.join(debian_dir, "abi")):
             v = "Ubuntu-aws-" + version
         elif "-gke" in srcpkg:
             v = "Ubuntu-gke-" + version
+        elif "-azure" in srcpkg:
+            v = "Ubuntu-azure-" + version
         else:
             v = "Ubuntu-" + version
 	print(cmd + " " + v)