[neon/ubuntu-core/ci-prototype] debian: fix the cleanup

Carlos De Maine null at kde.org
Wed May 1 04:44:32 BST 2024


Git commit 3aeb1e3687d9416be6ab9b2989942689495ab66e by Carlos De Maine.
Committed on 01/05/2024 at 03:44.
Pushed by carlosdem into branch 'ci-prototype'.

fix the cleanup

M  +3    -3    debian/snap-image-dangerous-proto.yml

https://invent.kde.org/neon/ubuntu-core/-/commit/3aeb1e3687d9416be6ab9b2989942689495ab66e

diff --git a/debian/snap-image-dangerous-proto.yml b/debian/snap-image-dangerous-proto.yml
index 3cfa60d..aed464d 100644
--- a/debian/snap-image-dangerous-proto.yml
+++ b/debian/snap-image-dangerous-proto.yml
@@ -17,7 +17,7 @@ snap_image_dangerous:
     - echo $GNUPGHOME
     - cat <<< "$KDE_NEON_CORE_IMAGE_KEY" > kde-neon-core-image-key
     - gpg --list-keys
-    - echo $PRIVATE_KEY | base64 --decode | gpg --batch --import
+    - echo -e $PRIVATE_KEY | base64 --decode | gpg --batch --import
     - gpg --import-ownertrust <(echo "$OWNER_TRUST")  
     - snapcraft whoami
     - echo building $KDE_SNAP_MODULE_NAME in dangerous mode ...
@@ -25,6 +25,6 @@ snap_image_dangerous:
   interruptible: true
 
   after_script:
-    - rm ~/ubuntu-core
-    - rm -rf /home/snaptester/.snap/gnupg/
+    - rm kde-neon-core-image-key
+    - rm -rf /home/snaptester/.snap/gnupg
   
\ No newline at end of file


More information about the Neon-commits mailing list