From e028cc5c62ecec54c2d839fa7ced8e8e26f9fc30 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Fri, 14 Feb 2025 16:57:00 +0100 Subject: [PATCH] ci: Rename dist tarball so it will be found by the release pipeline The TARBALL_ARTIFACT_PATH is formed from the name of the tag, which is prefixed by a "v". Additionally special characters like the tilde (e.g. 48~beta.1) are translated to underscores. This resulted in the TARBALL_ARTIFACT_PATH Gitlab variable not actually pointing to the generated tarball and therefore a failing release job. While I'd have preferred massaging the gitlab variable into the right form, doing string substitution is not working on gitlab variable, so I opted for a this workaround instead. Fixes: aa8c1b571d4901135539092a247c91d955a89e8a Signed-off-by: Evangelos Ribeiro Tzaras Part-of: --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c8c1660..9203702 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -62,6 +62,7 @@ build:tarball: script: - meson setup . "${MESON_BUILD_DIR}" - xvfb-run -s -noreset meson dist --include-subprojects -C "${MESON_BUILD_DIR}" + - mv ${MESON_BUILD_DIR}/meson-dist/calls*.tar.xz ${TARBALL_ARTIFACT_PATH} only: - tags