13 - git clone $CI_REPO_LINK .
14 - git checkout $CI_COMMIT_BRANCH
15 - git fetch origin $CI_COMMIT_REF
16 - git merge $CI_COMMIT_SHA
18 repo: friendica/friendica
19 branch: [ develop, '*-rc' ]
21 instance: releaser.ci.friendi.ca
23 image: meltwater/drone-cache:dev
27 cache_key: "{{ .Repo.Name }}_php7.4_{{ arch }}_{{ os }}"
28 archive_format: "gzip"
32 - /tmp/drone-cache:/tmp/cache
34 repo: friendica/friendica
35 branch: [ develop, '*-rc' ]
37 instance: releaser.ci.friendi.ca
39 image: friendicaci/php7.4:php7.4.18
41 - export COMPOSER_HOME=.composer
43 - composer install --no-dev --optimize-autoloader
45 - /etc/hosts:/etc/hosts
47 repo: friendica/friendica
48 branch: [ develop, '*-rc' ]
50 instance: releaser.ci.friendi.ca
55 - apt-get install bzip2
57 - export VERSION="$(cat VERSION)"
58 - export RELEASE="friendica-full-$VERSION"
59 - export ARTIFACT="$RELEASE.tar.gz"
61 --transform "s,^,$RELEASE/,S"
62 -X mods/release-list-exclude.txt
63 -T mods/release-list-include.txt
64 -cvzf ./build/$ARTIFACT
66 - sha256sum "$ARTIFACT" > "$ARTIFACT.sum256"
69 - cat "$ARTIFACT.sum256"
70 - sha256sum "$ARTIFACT"
72 repo: friendica/friendica
73 branch: [ develop, '*-rc' ]
75 instance: releaser.ci.friendi.ca
77 image: plugins/gpgsign
82 from_secret: gpg_password
89 repo: friendica/friendica
90 branch: [ develop, '*-rc' ]
92 instance: releaser.ci.friendi.ca
96 - cp -fr build/* /tmp/friendica_files/
98 - files:/tmp/friendica_files
100 repo: friendica/friendica
101 branch: [ develop, '*-rc' ]
103 instance: releaser.ci.friendi.ca