re-enabled automatic release to gitea
the build was successful Details

It was disabled because it was not compatible with gitea < 1.5.0.
This commit is contained in:
tastytea 2018-07-14 08:14:54 +02:00
parent 5df220913b
commit 81efd8bc1c
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
1 changed files with 16 additions and 13 deletions

View File

@ -20,19 +20,22 @@ pipeline:
- make package
- cmake -DWITH_DEB=OFF -DWITH_RPM=ON ..
- make package
# gitea_release:
# when:
# event: tag
# image: plugins/gitea-release
# pull: true
# base_url: https://schlomp.space
# secrets: [ gitea_token ]
# title: ${DRONE_TAG}
# prerelease: true
# files:
# - build/"mastodon-cpp-${DRONE_TAG}.ebuild"
# - build/"libmastodon-cpp_${DRONE_TAG}-0_amd64.deb"
# - build/"libmastodon-cpp-${DRONE_TAG}-0.x86_64.rpm"
gitea_release:
when:
event: tag
image: plugins/gitea-release
pull: true
base_url: https://schlomp.space
secrets: [ gitea_token ]
title: ${DRONE_TAG}
prerelease: true
files:
- build/"mastodon-cpp-${DRONE_TAG}.ebuild"
- build/"libmastodon-cpp_${DRONE_TAG}-0_amd64.deb"
- build/"libmastodon-cpp-${DRONE_TAG}-0.x86_64.rpm"
checksum:
- sha256
- sha512
notify:
when:
status: [ changed, failure ]