add: prerelease

This commit is contained in:
Tobias Reisinger 2020-06-30 23:50:48 +02:00
parent 212b2156a5
commit 5113d134bb

View file

@ -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