Add drone release for addons

This commit is contained in:
Philipp 2021-09-02 12:17:03 +02:00
parent c2cd12bc65
commit 3bb47c5845
No known key found for this signature in database
GPG key ID: 9A28B7D4FF5667BD

View file

@ -114,13 +114,13 @@ steps:
- mkdir ./build - mkdir ./build
- # Create artifact for friendica-addons - # Create artifact for friendica-addons
- tar \ - tar \
--exclude='./.tx' \ --exclude='./.tx'
--exclude='./.git' \ --exclude='./.git'
--exclude='./.editorconfig' \ --exclude='./.editorconfig'
--exclude='./.gitattributes' \ --exclude='./.gitattributes'
--exclude='./.gitignore' \ --exclude='./.gitignore'
--exclude='./.drone.yml' \ --exclude='./.drone.yml'
--exclude='./**/*/messages.po' \ --exclude='./**/*/messages.po'
-cvjf ./build/$ARTIFACTADDONS --transform "s,^addon,$RELEASEADDONS," addon/ -cvjf ./build/$ARTIFACTADDONS --transform "s,^addon,$RELEASEADDONS," addon/
- # calculate SHA256 checksum - # calculate SHA256 checksum
- sha256sum ./build/$ARTIFACTADDONS > ./build/$ARTIFACTADDONS.sha256 - sha256sum ./build/$ARTIFACTADDONS > ./build/$ARTIFACTADDONS.sha256