[kteam-tools] maint-startnewrelease: Add euclid to derivative list

Message ID 1512489299-29451-1-git-send-email-stefan.bader@canonical.com
State New
Headers show
Series
  • [kteam-tools] maint-startnewrelease: Add euclid to derivative list
Related show

Commit Message

Stefan Bader Dec. 5, 2017, 3:54 p.m.
Otherwise command will fail when working on linux-euclid trees.

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

Comments

Po-Hsu Lin Dec. 6, 2017, 2:43 a.m. | #1
Looks good to me.
Acked-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
Shrirang Bagul Dec. 6, 2017, 3:10 a.m. | #2
On Tue, 2017-12-05 at 16:54 +0100, Stefan Bader wrote:
> Otherwise command will fail when working on linux-euclid trees.
> 
> Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Shrirang Bagul <shrirang.bagul@canonical.com>
> ---
>  maintscripts/maint-startnewrelease | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/maintscripts/maint-startnewrelease b/maintscripts/maint-
> startnewrelease
> index 51b0527..3d3f9b1 100755
> --- a/maintscripts/maint-startnewrelease
> +++ b/maintscripts/maint-startnewrelease
> @@ -154,6 +154,8 @@ if os.path.isdir(os.path.join(debian_dir, "abi")):
>              v = "Ubuntu-kvm-" + version
>          elif "-oem" in srcpkg:
>              v = "Ubuntu-oem-" + version
> +        elif "-euclid" in srcpkg:
> +            v = "Ubuntu-euclid-" + version
>          else:
>              v = "Ubuntu-" + version
>  	print(cmd + " " + v)
> -- 
> 2.7.4
> 
>
Stefan Bader Dec. 6, 2017, 8:22 a.m. | #3
On 05.12.2017 16:54, Stefan Bader wrote:
> Otherwise command will fail when working on linux-euclid trees.
> 
> Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
> ---
>  maintscripts/maint-startnewrelease | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/maintscripts/maint-startnewrelease b/maintscripts/maint-startnewrelease
> index 51b0527..3d3f9b1 100755
> --- a/maintscripts/maint-startnewrelease
> +++ b/maintscripts/maint-startnewrelease
> @@ -154,6 +154,8 @@ if os.path.isdir(os.path.join(debian_dir, "abi")):
>              v = "Ubuntu-kvm-" + version
>          elif "-oem" in srcpkg:
>              v = "Ubuntu-oem-" + version
> +        elif "-euclid" in srcpkg:
> +            v = "Ubuntu-euclid-" + version
>          else:
>              v = "Ubuntu-" + version
>  	print(cmd + " " + v)
>

Patch

diff --git a/maintscripts/maint-startnewrelease b/maintscripts/maint-startnewrelease
index 51b0527..3d3f9b1 100755
--- a/maintscripts/maint-startnewrelease
+++ b/maintscripts/maint-startnewrelease
@@ -154,6 +154,8 @@  if os.path.isdir(os.path.join(debian_dir, "abi")):
             v = "Ubuntu-kvm-" + version
         elif "-oem" in srcpkg:
             v = "Ubuntu-oem-" + version
+        elif "-euclid" in srcpkg:
+            v = "Ubuntu-euclid-" + version
         else:
             v = "Ubuntu-" + version
 	print(cmd + " " + v)