[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gitlab: fall back to commit hash in qemu-setup filename
|
From: |
Alex Bennée |
|
Subject: |
Re: [PATCH] gitlab: fall back to commit hash in qemu-setup filename |
|
Date: |
Fri, 28 Jan 2022 16:47:32 +0000 |
|
User-agent: |
mu4e 1.7.6; emacs 28.0.91 |
Stefan Hajnoczi <stefanha@redhat.com> writes:
> Personal repos may not have release tags (v6.0.0, v6.1.0, etc) and this
> causes cross_system_build_job to fail when pretty-printing a unique
> qemu-setup-*.exe name:
>
> version="$(git describe --match v[0-9]*)";
> ^^^^^^^^^^ fails ^^^^^^^^^^^
> mv -v qemu-setup*.exe qemu-setup-${version}.exe;
>
> Fall back to the short commit hash if necessary. This fixes CI failures
> that Greg Kurz and I experienced in our personal repos.
>
> Cc: Greg Kurz <groug@kaod.org>
> Cc: Gerd Hoffmann <kraxel@redhat.com>
> Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Queued to update-plugins-next-280122, thanks.
--
Alex Bennée