This commit is contained in:
parent
32a25e27b1
commit
0957f0f1a4
1 changed files with 46 additions and 0 deletions
46
.drone.yml
46
.drone.yml
|
@ -15,3 +15,49 @@ steps:
|
|||
image: node:12
|
||||
commands:
|
||||
- npm run build:prod
|
||||
- name: pre-release
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
api_key:
|
||||
from_secret: gitea_token
|
||||
base_url: https://gittr.ch/
|
||||
checksum:
|
||||
- md5
|
||||
- sha512
|
||||
draft: true
|
||||
files: dist/*
|
||||
note: README.md
|
||||
title: VERSION
|
||||
when:
|
||||
branch: develop
|
||||
- name: test-release
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
api_key:
|
||||
from_secret: gitea_token
|
||||
base_url: https://gittr.ch/
|
||||
checksum:
|
||||
- md5
|
||||
- sha512
|
||||
draft: true
|
||||
files: dist/*
|
||||
note: README.md
|
||||
prerelease: true
|
||||
title: VERSION
|
||||
when:
|
||||
branch: feature/*
|
||||
- name: release
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
api_key:
|
||||
from_secret: gitea_token
|
||||
base_url: https://gittr.ch/
|
||||
checksum:
|
||||
- md5
|
||||
- sha512
|
||||
files: dist/*
|
||||
file_exists: fail
|
||||
note: README.md
|
||||
title: VERSION
|
||||
when:
|
||||
event: tag
|
||||
|
|
Loading…
Reference in a new issue