[neon/snap-packaging/kf6-core22/ci-prototype] debian: this time for sure

Carlos De Maine null at kde.org
Fri May 10 05:45:13 BST 2024


Git commit f6fb50889f25a9c3e6460c03297a864847647c22 by Carlos De Maine.
Committed on 10/05/2024 at 04:45.
Pushed by carlosdem into branch 'ci-prototype'.

this time for sure

M  +7    -8    debian/snap-snapcraft-lxd-proto.yml

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

diff --git a/debian/snap-snapcraft-lxd-proto.yml b/debian/snap-snapcraft-lxd-proto.yml
index 9c21141..a296051 100644
--- a/debian/snap-snapcraft-lxd-proto.yml
+++ b/debian/snap-snapcraft-lxd-proto.yml
@@ -30,13 +30,12 @@ snap_snapcraft_lxd:
     - tar -zcvf $KDE_SNAP_MODULE_NAME-$CI_COMMIT_SHORT_SHA.tar.gz .kde-ci-packages/
     - cp ./$KDE_SNAP_MODULE_NAME-$CI_COMMIT_SHORT_SHA.tar.gz .kde-ci-packages/
     - >-
-      curl -k
-      --request PUT
-      --include "https://invent.kde.org/api/v4/"
-      --header "PRIVATE-TOKEN: $KDECI_GITLAB_TOKEN"
+      curl
+      --header "Authorization: Bearer $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/$CI_COMMIT_SHORT_SHA/$KDE_SNAP_MODULE_NAME-$CI_COMMIT_SHORT_SHA.tar.gz?select=package_file"
-  #after_script:
-    # - snapcraft push --release=edge *.snap
-  #allow_failure: true
+      --output $KDE_SNAP_MODULE_NAME-$CI_COMMIT_SHORT_SHA.tar.gz
+      "https://invent.kde.org/api/v4/projects/17922/packages/generic/$KDE_SNAP_MODULE_NAME/$CI_COMMIT_SHORT_SHA/"
+  after_script:
+     - snapcraft push --release=edge *.snap
+  allow_failure: true
   interruptible: true


More information about the Neon-commits mailing list