[neon/snap-packaging/kf6-core22/ci-prototype] debian: tar gunzip it

Carlos De Maine null at kde.org
Wed May 8 09:30:03 BST 2024


Git commit ef88378c98feeb803e227b84955d10fa113c5602 by Carlos De Maine.
Committed on 08/05/2024 at 08:30.
Pushed by carlosdem into branch 'ci-prototype'.

tar gunzip it

M  +2    -1    debian/snap-snapcraft-lxd-proto.yml

https://invent.kde.org/neon/snap-packaging/kf6-core22/-/commit/ef88378c98feeb803e227b84955d10fa113c5602

diff --git a/debian/snap-snapcraft-lxd-proto.yml b/debian/snap-snapcraft-lxd-proto.yml
index e1aec07..9130a15 100644
--- a/debian/snap-snapcraft-lxd-proto.yml
+++ b/debian/snap-snapcraft-lxd-proto.yml
@@ -26,7 +26,8 @@ snap_snapcraft_lxd:
     - mkdir -p .kde-ci-packages/
     # copy the snap to the artifacts dir
     - cp -vf *.snap  .kde-ci-packages/
-    - curl --header "PRIVATE-TOKEN: $KDECI_GITLAB_TOKEN" --upload-file .kde-ci-packages/*.snap "https://invent.kde.org/api/v4/projects/17922/packages/generic/$KDE_SNAP_MODULE_NAME/*.snap"
+    - tar -zcvf .kde-ci-packages/$KDE_SNAP_MODULE_NAME_$CI_COMMIT_SHORT_SHA.tar.gz .kde-ci-packages/
+    - curl --verbose --header "PRIVATE-TOKEN: $KDECI_GITLAB_TOKEN" --upload-file ./.kde-ci-packages/$KDE_SNAP_MODULE_NAME_$CI_COMMIT_SHORT_SHA.tar.gz "https://invent.kde.org/api/v4/projects/17922/packages/generic/$KDE_SNAP_MODULE_NAME/$KDE_SNAP_MODULE_NAME_$CI_COMMIT_SHORT_SHA.tar.gz"
   #after_script:
     # - snapcraft push --release=edge *.snap
   #allow_failure: true


More information about the Neon-commits mailing list