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