[F,linux-meta,1/3] update-version: Fix tagging a variant.
diff mbox series

Message ID 20200108151208.27354-1-tjaalton@ubuntu.com
State New
Headers show
Series
  • [F,linux-meta,1/3] update-version: Fix tagging a variant.
Related show

Commit Message

Timo Aaltonen Jan. 8, 2020, 3:12 p.m. UTC
From: Timo Aaltonen <timo.aaltonen@canonical.com>

Signed-off-by: Timo Aaltonen <timo.aaltonen@canonical.com>
---
 update-version | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andrea Righi Jan. 8, 2020, 5:53 p.m. UTC | #1
On Wed, Jan 08, 2020 at 05:12:06PM +0200, Timo Aaltonen wrote:
> From: Timo Aaltonen <timo.aaltonen@canonical.com>
> 
> Signed-off-by: Timo Aaltonen <timo.aaltonen@canonical.com>

Applied and tested with the unstable kernel.
Looks good to me.

Acked-by: Andrea Righi <andrea.righi@canonical.com>

> ---
>  update-version | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/update-version b/update-version
> index 6df131e..295afc3 100755
> --- a/update-version
> +++ b/update-version
> @@ -1,6 +1,6 @@
>  #!/bin/bash
>  
> -tag_prefix="Ubuntu-"
> +tag_prefix=`dpkg-parsechangelog -S Source | sed 's/linux-meta/Ubuntu/'`-
>  
>  if [ "$#" -ne 1 ]; then
>  	echo "Usage: $0 <linux-source-directory>" 1>&2
> -- 
> 2.20.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
Seth Forshee Jan. 8, 2020, 7:25 p.m. UTC | #2
On Wed, Jan 08, 2020 at 05:12:06PM +0200, Timo Aaltonen wrote:
> From: Timo Aaltonen <timo.aaltonen@canonical.com>
> 
> Signed-off-by: Timo Aaltonen <timo.aaltonen@canonical.com>

Applied all three patches to focal/unstable.

Patch
diff mbox series

diff --git a/update-version b/update-version
index 6df131e..295afc3 100755
--- a/update-version
+++ b/update-version
@@ -1,6 +1,6 @@ 
 #!/bin/bash
 
-tag_prefix="Ubuntu-"
+tag_prefix=`dpkg-parsechangelog -S Source | sed 's/linux-meta/Ubuntu/'`-
 
 if [ "$#" -ne 1 ]; then
 	echo "Usage: $0 <linux-source-directory>" 1>&2