From b7abe843e443eb03b6d76603e3cc0b4af326e630 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Wed, 11 Dec 2024 15:42:44 +0200 Subject: [PATCH] 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/ --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d34d3d8f1..538e8720b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 @@ -21,6 +27,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`. #