[glib/wip/hadess/update-fedora-ci: 41/41] ci: Fix documentation tarball compression



commit fadd7d6286c55dfaa43012c89b9cf7b72b22f72b
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Apr 28 14:36:29 2020 +0200

    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"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]