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: aa8c1b571d

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/765>
This commit is contained in:
Evangelos Ribeiro Tzaras
2025-02-14 16:57:00 +01:00
parent 9340fb5e33
commit e028cc5c62

View File

@@ -62,6 +62,7 @@ build:tarball:
script: script:
- meson setup . "${MESON_BUILD_DIR}" - meson setup . "${MESON_BUILD_DIR}"
- xvfb-run -s -noreset meson dist --include-subprojects -C "${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: only:
- tags - tags