[neon/snap-packaging/kf6-core22/ci-prototype] debian: try and publish to registry with curl

Carlos De Maine null at kde.org
Wed May 8 07:37:58 BST 2024


Git commit 2448eea0a347c635fb7a6f633f03f34dbbb25d4b by Carlos De Maine.
Committed on 08/05/2024 at 06:37.
Pushed by carlosdem into branch 'ci-prototype'.

try and publish to registry with curl

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

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

diff --git a/debian/snap-snapcraft-lxd-proto.yml b/debian/snap-snapcraft-lxd-proto.yml
index fea07b6..951adda 100644
--- a/debian/snap-snapcraft-lxd-proto.yml
+++ b/debian/snap-snapcraft-lxd-proto.yml
@@ -26,6 +26,7 @@ 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"
   #after_script:
     # - snapcraft push --release=edge *.snap
   #allow_failure: true


More information about the Neon-commits mailing list