[gimp/wip/Jehan/docs-tarball] gitlab-ci: generate tarball for GIMP documentation.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/wip/Jehan/docs-tarball] gitlab-ci: generate tarball for GIMP documentation.
- Date: Thu, 8 Sep 2022 12:38:58 +0000 (UTC)
commit 0deb2c05ef32a151fb1196b95c81691255501832
Author: Jehan <jehan girinstud io>
Date: Thu Sep 8 01:17:06 2022 +0200
gitlab-ci: generate tarball for GIMP documentation.
.gitlab-ci.yml | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1cff434081..257d371ec6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -238,6 +238,7 @@ gimp-meson-debian:
script:
- meson _build
--prefix="${INSTALL_PREFIX}"
+ -Dg-ir-doc=true -Dgi-docgen=enabled
- ninja -C _build
- ninja -C _build test
# The src should not be changed by the build. If it is, something is
@@ -822,18 +823,24 @@ dev-docs:
- if: '$GIMP_CI_SOURCES != null'
stage: distribution
dependencies:
- - gimp-distcheck-debian
+ - gimp-meson-debian
artifacts:
name: "GIMP-sources-${CI_COMMIT_SHORT_SHA}"
when: always
expire_in: 2 days
paths:
- - g-ir-docs
- - reference
+ - gimp-docs-*.tar.xz
+ - gimp-docs-*.tar.xz.SHA256SUMS
+ - gimp-docs-*.tar.xz.SHA512SUMS
script:
- mv _build/devel-docs/g-ir-docs .
- mv _build/devel-docs/reference .
- needs: ["gimp-distcheck-debian"]
+ - GIMP_VER=$(grep GIMP_VERSION _build/config.h | head -1 | sed 's/^.*"\([^"]*\)"$/\1/') &&
+ FILENAME="gimp-docs-$GIMP_VER.tar.xz" &&
+ tar -cJf ${FILENAME} g-ir-docs reference &&
+ sha256sum gimp-docs-*.tar.xz > ${FILENAME}.SHA256SUMS &&
+ sha512sum gimp-docs-*.tar.xz > ${FILENAME}.SHA512SUMS
+ needs: ["gimp-meson-debian"]
flatpak-nightly:
extends: '.publish_nightly'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]