add: prerelease
This commit is contained in:
parent
212b2156a5
commit
5113d134bb
1 changed files with 2 additions and 2 deletions
|
@ -13,11 +13,13 @@ steps:
|
||||||
- cd build
|
- cd build
|
||||||
- cmake ..
|
- cmake ..
|
||||||
- make
|
- make
|
||||||
|
- echo "GITEA_RELEASE_TITLE=$(controller --version)" > /drone/src/release_env
|
||||||
|
|
||||||
- name: gitea_prerelease
|
- name: gitea_prerelease
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
settings:
|
settings:
|
||||||
prerelease: true
|
prerelease: true
|
||||||
|
env-file: release_env
|
||||||
api_key:
|
api_key:
|
||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
base_url: https://git.serguzim.me
|
base_url: https://git.serguzim.me
|
||||||
|
@ -26,7 +28,6 @@ steps:
|
||||||
- build/controller.ini
|
- build/controller.ini
|
||||||
when:
|
when:
|
||||||
branch: testing
|
branch: testing
|
||||||
event: tag
|
|
||||||
|
|
||||||
- name: gitea_release
|
- name: gitea_release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
|
@ -38,5 +39,4 @@ 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