From 212b2156a593e7f026a2de4c06c44eddd18d267b Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Tue, 30 Jun 2020 23:19:46 +0200 Subject: [PATCH] fix: drone release handling --- .drone.yml | 15 +++++++++++++++ CMakeLists.txt | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index a1c6e48..8b17aa1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,6 +14,20 @@ steps: - cmake .. - make +- name: gitea_prerelease + image: plugins/gitea-release + settings: + prerelease: true + api_key: + from_secret: gitea_token + base_url: https://git.serguzim.me + files: + - build/controller + - build/controller.ini + when: + branch: testing + event: tag + - name: gitea_release image: plugins/gitea-release settings: @@ -24,4 +38,5 @@ steps: - build/controller - build/controller.ini when: + branch: master event: tag diff --git a/CMakeLists.txt b/CMakeLists.txt index a884811..b700667 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.7) project(controller - VERSION 0.2.1 + VERSION 0.2.2 LANGUAGES C) add_executable(controller src/main.c)