fix command

This commit is contained in:
Philipp 2022-02-06 21:37:04 +01:00
parent 7e1d18f8a3
commit 444bdfe619
No known key found for this signature in database
GPG key ID: 24A7501396EB5432

View file

@ -66,10 +66,14 @@ pipeline:
- export RELEASE="friendica-addons-$VERSION" - export RELEASE="friendica-addons-$VERSION"
- export ARTIFACT="$RELEASE.tar.gz" - export ARTIFACT="$RELEASE.tar.gz"
- tar - tar
--transform "s,^,$RELEASE/," --exclude='.tx'
-X mods/release-list-exclude.txt --exclude='.git'
-T mods/release-list-include.txt --exclude='.editorconfig'
-cvzf ./build/$ARTIFACT --exclude='.gitattributes'
--exclude='.gitignore'
--exclude='.drone.yml'
--exclude='**/*/messages.po'
-cvzf ./build/$ARTIFACT addon/
- cd ./build - cd ./build
- sha256sum "$ARTIFACT" > "$ARTIFACT.sum256" - sha256sum "$ARTIFACT" > "$ARTIFACT.sum256"
- chmod 664 ./* - chmod 664 ./*