fix: drone release handling

This commit is contained in:
Tobias Reisinger 2020-06-30 23:19:46 +02:00
parent 4abae1ce05
commit 4140332213

View file

@ -14,6 +14,20 @@ steps:
- cmake .. - cmake ..
- make - 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 - name: gitea_release
image: plugins/gitea-release image: plugins/gitea-release
settings: settings:
@ -24,4 +38,5 @@ steps:
- build/controller - build/controller
- build/controller.ini - build/controller.ini
when: when:
branch: master
event: tag event: tag