mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 14:03:16 +00:00
Add drone release for addons
This commit is contained in:
parent
826fa88843
commit
5bba4bee00
1 changed files with 11 additions and 11 deletions
22
.drone.yml
22
.drone.yml
|
@ -109,21 +109,21 @@ steps:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install bzip2
|
- apt-get install bzip2
|
||||||
- export VERSION="$(cat VERSION)"
|
- export VERSION="$(cat VERSION)"
|
||||||
- export RELEASEADDONS="friendica-addons-$VERSION"
|
- export RELEASE="friendica-addons-$VERSION"
|
||||||
- export ARTIFACTADDONS="$RELEASEADDON.tar.gz"
|
- export ARTIFACT="$RELEASE.tar.gz"
|
||||||
- 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/$ARTIFACT --transform "s,^addon,$RELEASE," addon/
|
||||||
- # calculate SHA256 checksum
|
- # calculate SHA256 checksum
|
||||||
- sha256sum ./build/$ARTIFACTADDONS > ./build/$ARTIFACTADDONS.sha256
|
- sha256sum ./build/$ARTIFACT > ./build/$ARTIFACT.sha256
|
||||||
- ls -lh ./build
|
- ls -lh ./build
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
image: alpine
|
image: alpine
|
||||||
|
|
Loading…
Reference in a new issue