diff options
| author | Stefan Hajnoczi | 2022-02-04 21:43:22 +0100 |
|---|---|---|
| committer | Alex Bennée | 2022-02-09 13:08:42 +0100 |
| commit | 6340af7a949589cf07b5194edbbfb352734d8a3b (patch) | |
| tree | 345f38f881f95022357010e8ecc7c515c569d734 /tests/docker/dockerfiles | |
| parent | docs/devel: mention our .editorconfig (diff) | |
| download | qemu-6340af7a949589cf07b5194edbbfb352734d8a3b.tar.gz qemu-6340af7a949589cf07b5194edbbfb352734d8a3b.tar.xz qemu-6340af7a949589cf07b5194edbbfb352734d8a3b.zip | |
gitlab: fall back to commit hash in qemu-setup filename
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>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220125173454.10381-1-stefanha@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220204204335.1689602-14-alex.bennee@linaro.org>
Diffstat (limited to 'tests/docker/dockerfiles')
0 files changed, 0 insertions, 0 deletions
