[gimp] gitlab-ci: rename autotools/meson tarballs.



commit af6218fb538a012fb0cb3ec5bf94f1f042d73212
Author: Jehan <jehan girinstud io>
Date:   Mon Aug 8 18:15:33 2022 +0200

    gitlab-ci: rename autotools/meson tarballs.
    
    If we want to encourage packagers to test the meson tarball (better to
    do this now with development releases than later on stable releases!),
    we should name it prominently. Therefore I will rename the autotools
    tarball as gimp-*-autotools.tar.bz2 whereas the meson tarball will be
    named gimp-*.tar.xz.
    
    Also renaming `sources` CI job to `sources-autotools`.

 .gitlab-ci.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2573958193..711730eed0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -756,7 +756,7 @@ win-installer-nightly:
     - C:\msys64\usr\bin\bash -lc "bash -x ./build/windows/gitlab-ci/installer-gimp-msys2.sh > installer.log 
2>&1"
   needs: ["packaging-win32-native", "packaging-win64-native"]
 
-sources:
+sources-autotools:
   rules:
     # On commits.
     - if: '$CI_PIPELINE_SOURCE == "push"'
@@ -777,7 +777,9 @@ sources:
     - gimp-*.tar.bz2.SHA512SUMS
   script:
     - mv _build/gimp-*.tar.bz2 .
-    - FILENAME=`ls gimp-*.tar.bz2` &&
+    - BASENAME=`ls gimp-*.tar.bz2 | sed 's/.tar.bz2//'` &&
+      FILENAME="$BASENAME-autotools.tar.bz2"            &&
+      mv $BASENAME.tar.bz2 $FILENAME                    &&
       sha256sum gimp-*.tar.bz2 > ${FILENAME}.SHA256SUMS &&
       sha512sum gimp-*.tar.bz2 > ${FILENAME}.SHA512SUMS
   needs: ["gimp-distcheck-debian"]
@@ -803,9 +805,7 @@ sources-meson:
     - gimp-*.tar.xz.SHA512SUMS
   script:
     - mv _build/meson-dist/gimp-*.tar.xz .
-    - BASENAME=`ls gimp-*.tar.xz | sed 's/.tar.xz//'`  &&
-      FILENAME="$BASENAME-meson.tar.xz"                &&
-      mv $BASENAME.tar.xz  $FILENAME                   &&
+    - FILENAME=`ls gimp-*.tar.xz`                      &&
       sha256sum gimp-*.tar.xz > ${FILENAME}.SHA256SUMS &&
       sha512sum gimp-*.tar.xz > ${FILENAME}.SHA512SUMS
   needs: ["gimp-meson-debian"]


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