From 7c2dfa65e2f582edd9adaf5e4e19c1789bb9c2ed Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 15 Aug 2018 07:43:19 +0200 Subject: [PATCH] fixed drone file --- .drone.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7143548..4adf491 100644 --- a/.drone.yml +++ b/.drone.yml @@ -85,17 +85,23 @@ pipeline: - make package - cmake -DWITH_DEB=OFF -DWITH_RPM=ON .. - make package - gitea_release: + prepare_release: + image: gcc:8 + pull: true when: event: tag + commands: + - cp -v build/mastodon-cpp-${DRONE_TAG}.ebuild . + - cp -v build/libmastodon-cpp[_-]${DRONE_TAG}*{deb,rpm} . + gitea_release: image: plugins/gitea-release pull: true + when: + event: tag base_url: https://schlomp.space secrets: [ gitea_token ] title: ${DRONE_TAG} prerelease: true - commands: - - cd build files: - mastodon-cpp-${DRONE_TAG}.ebuild - libmastodon-cpp_${DRONE_TAG}-0_amd64.deb