From 5113d134bb0998667ffb7cd094de726d47ddbd66 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Tue, 30 Jun 2020 23:50:48 +0200 Subject: [PATCH] add: prerelease --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 8b17aa1..e288d0d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,11 +13,13 @@ steps: - cd build - cmake .. - make + - echo "GITEA_RELEASE_TITLE=$(controller --version)" > /drone/src/release_env - name: gitea_prerelease image: plugins/gitea-release settings: prerelease: true + env-file: release_env api_key: from_secret: gitea_token base_url: https://git.serguzim.me @@ -26,7 +28,6 @@ steps: - build/controller.ini when: branch: testing - event: tag - name: gitea_release image: plugins/gitea-release @@ -38,5 +39,4 @@ steps: - build/controller - build/controller.ini when: - branch: master event: tag