From 81efd8bc1cd77828ea7482f9de78b75bfb64a1dc Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 14 Jul 2018 08:14:54 +0200 Subject: [PATCH] re-enabled automatic release to gitea It was disabled because it was not compatible with gitea < 1.5.0. --- .drone.yml | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/.drone.yml b/.drone.yml index 54ac696..06eee95 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 ]