Created
August 14, 2025 13:26
-
-
Save rikmeijer/395a3c079a7be7ba0a3d043846072300 to your computer and use it in GitHub Desktop.
generate-nextcloud-release
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Based on instruction at https://nextcloudappstore.readthedocs.io/en/latest/developer.html | |
| # Call ./generate-nextcloud-release <APP_ID> | |
| # Assuming app is in folder <APP_ID> | |
| # and assuming signing key is in ~/.nextcloud/certificates/<APP_ID>.key | |
| tar --exclude=".git*" -czf $1.tar.gz noxtr | |
| openssl dgst -sha512 -sign ~/.nextcloud/certificates/$1.key $1.tar.gz | openssl base64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment