fix: drone release handling
This commit is contained in:
parent
4abae1ce05
commit
212b2156a5
2 changed files with 16 additions and 1 deletions
15
.drone.yml
15
.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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue