summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2021-04-14 18:49:24 +0200
committerDavid Faure <faure@kde.org>2021-04-14 18:58:32 +0000
commit61a8f6d34e3ae7faf65c2aacdd83066e6ebb1d3f (patch)
tree4ec261ceebef990efb89366160c44bc1191e2cae
parent426fdf7e00d1849e5273a111aada9f992c8581cf (diff)
downloadshared-mime-info-work/dfaure/hacking_fix.tar.gz
Use meson dist for releasingwork/dfaure/hacking_fix
Closes https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/152
-rw-r--r--.gitlab-ci.yml6
-rw-r--r--HACKING.md6
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
--------------------------------