ci: Add release component to automate tarball publishing

Publishing the dist tarball to download.gnome.org is now automated.

See [1]

[1] https://gitlab.gnome.org/Teams/Websites/handbook.gnome.org/-/merge_requests/83/
This commit is contained in:
Jordan Petridis 2024-12-11 15:42:44 +02:00 committed by Philip Withnall
parent d02c95c91a
commit 89b79e3af7
No known key found for this signature in database
GPG Key ID: C5C42CFB268637CA

View File

@ -1,3 +1,9 @@
include:
- component: gitlab.gnome.org/GNOME/citemplates/release-service@master
inputs:
dist-job-name: "dist-job"
tarball-artifact-path: "${TARBALL_ARTIFACT_PATH}"
stages:
- style-check
- build
@ -19,6 +25,8 @@ variables:
MESON_TEST_TIMEOUT_MULTIPLIER: 4
G_MESSAGES_DEBUG: all
MESON_COMMON_OPTIONS: "--buildtype debug --wrap-mode=nodownload --fatal-meson-warnings"
# expected naming scheme for the release-service job
TARBALL_ARTIFACT_PATH: _build/meson-dist/$CI_PROJECT_NAME-$CI_COMMIT_TAG.tar.xz
# Default CI job setup; contrast with `.only-origin`.
#