From 555fc57a1c228ca1ca03d79de3fdf48363893829 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 28 Apr 2020 14:36:29 +0200 Subject: [PATCH] ci: Fix documentation tarball compression Best compress using xz when using .tar.xz suffixes. --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 692d2c49e..5ed2d725a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -470,9 +470,9 @@ dist-job: - cd _build - ninja dist - ninja glib-doc gobject-doc gio-doc - - tar -c -f "glib-docs-$CI_COMMIT_TAG.tar.xz" -C docs/reference/glib html - - tar -c -f "gobject-docs-$CI_COMMIT_TAG.tar.xz" -C docs/reference/gobject html - - tar -c -f "gio-docs-$CI_COMMIT_TAG.tar.xz" -C docs/reference/gio html + - tar -c -J -f "glib-docs-$CI_COMMIT_TAG.tar.xz" -C docs/reference/glib html + - tar -c -J -f "gobject-docs-$CI_COMMIT_TAG.tar.xz" -C docs/reference/gobject html + - tar -c -J -f "gio-docs-$CI_COMMIT_TAG.tar.xz" -C docs/reference/gio html artifacts: paths: - "${CI_PROJECT_DIR}/_build/glib-docs-$CI_COMMIT_TAG.tar.xz"