Merge pull request #1235 from nupplaphil/bug/releaser

Fix CI release prefix
pull/1237/head
Tobias Diekershoff 2022-02-06 22:23:19 +01:00 committed by GitHub
commit d07a9185be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 6 deletions

View File

@ -71,7 +71,7 @@ pipeline:
--exclude='.editorconfig' --exclude='.editorconfig'
--exclude='.gitattributes' --exclude='.gitattributes'
--exclude='.gitignore' --exclude='.gitignore'
--exclude='.drone.yml' --exclude='.woodpecker'
--exclude='**/*/messages.po' --exclude='**/*/messages.po'
-cvzf ./build/$ARTIFACT addon/ -cvzf ./build/$ARTIFACT addon/
- cd ./build - cd ./build

View File

@ -63,13 +63,17 @@ pipeline:
- apt-get install bzip2 - apt-get install bzip2
- mkdir ./build - mkdir ./build
- export VERSION="$(cat VERSION)" - export VERSION="$(cat VERSION)"
- export RELEASE="friendica-full-$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='.woodpecker'
--exclude='**/*/messages.po'
-cvzf ./build/$ARTIFACT addon/
- cd ./build - cd ./build
- sha256sum "$ARTIFACT" > "$ARTIFACT.sum256" - sha256sum "$ARTIFACT" > "$ARTIFACT.sum256"
- chmod 664 ./* - chmod 664 ./*