From 61a8f6d34e3ae7faf65c2aacdd83066e6ebb1d3f Mon Sep 17 00:00:00 2001 From: David Faure Date: Wed, 14 Apr 2021 18:49:24 +0200 Subject: Use meson dist for releasing Closes https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/152 --- .gitlab-ci.yml | 6 ++++++ HACKING.md | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9d2cc051..985dfe96 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,3 +29,9 @@ build:meson: - ninja -C _build - ninja -C _build test - ninja -C _build dist + artifacts: + when: always + paths: + - _build/meson-logs/*.txt + - _build/meson-dist/*.* + diff --git a/HACKING.md b/HACKING.md index eb001b27..a1de22b6 100644 --- a/HACKING.md +++ b/HACKING.md @@ -69,10 +69,12 @@ Releasing - Commit and push to shared-mime-info gitlab - Update version number in `meson.build` - Add changelog to `NEWS` -- Commit, tag and push +- Commit, make a merge request, wait for CI to ensure `meson dist` works, then merge it. +- Tag and push the tag - Go to https://gitlab.freedesktop.org/xdg/shared-mime-info/-/releases and click "New release" - Fill in version number (3 times), paste NEWS, confirm -- Download `.tar.bz2`, `bunzip2` it, `xz -z .tar`, attach to release. +- Attach the tarball from the CI build artifact +- tag and push the tag Updating the spec on the website -------------------------------- -- cgit v1.2.1