]> git.mxchange.org Git - friendica-addons.git/blobdiff - .drone.yml
fromapp AR translations updated THX abidin toumi
[friendica-addons.git] / .drone.yml
index c034f291c90096d856dbed59f7ab41138a60542b..b80d4344d993cdca3cdf4a67d312f74d88eaba63 100644 (file)
@@ -121,14 +121,27 @@ steps:
         --exclude='.gitignore'
         --exclude='.drone.yml'
         --exclude='**/*/messages.po'
-        -cvjf ./build/$ARTIFACT addon/
+        -cvzf ./build/$ARTIFACT addon/
       - # calculate SHA256 checksum
       - cd ./build
       - sha256sum "$ARTIFACT" > "$ARTIFACT.sum256"
+      - chmod 664 ./*
       - ls -lh
-      - # output the sha256 sum for checking purpose
+      - # output the sha256 sum for checking
       - cat "$ARTIFACT.sum256"
       - sha256sum "$ARTIFACT"
+  - name: Sign artifacts
+    image: plugins/gpgsign
+    settings:
+      key:
+        from_secret: gpg_key
+      passphrase:
+        from_secret: gpg_password
+      files:
+        - build/*
+      exclude:
+        - build/*.sum256
+      detach_sign: true
   - name: Upload artifacts
     image: alpine
     environment:
@@ -213,14 +226,27 @@ steps:
         --exclude='.gitignore'
         --exclude='.drone.yml'
         --exclude='**/*/messages.po'
-        -cvjf ./build/$ARTIFACT addon/
+        -cvzf ./build/$ARTIFACT addon/
       - # calculate SHA256 checksum
       - cd ./build
       - sha256sum "$ARTIFACT" > "$ARTIFACT.sum256"
+      - chmod 664 ./*
       - ls -lh
-      - # output the sha256 sum for checking purpose
+      - # output the sha256 sum for checking
       - cat "$ARTIFACT.sum256"
       - sha256sum "$ARTIFACT"
+  - name: Sign artifacts
+    image: plugins/gpgsign
+    settings:
+      key:
+        from_secret: gpg_key
+      passphrase:
+        from_secret: gpg_password
+      files:
+        - build/*
+      exclude:
+        - build/*.sum256
+      detach_sign: true
   - name: Upload artifacts
     image: alpine
     environment: