Differ between release and pre-release

This commit is contained in:
Pascal Lais
2020-10-19 15:49:06 +02:00
parent 32a614c7e8
commit 55f1fe428c

View File

@@ -7,6 +7,22 @@ steps:
image: shaguarger/platformio
commands:
- platformio run
- name: gitea_release_beta
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://git.lais.dev
files:
- .pio/build/nanoatmega328/firmware.elf
checksum:
- md5
- sha256
- crc32
title: ${DRONE_TAG}
when:
ref:
- refs/tags/+(0-9).+(0-9).+(1-9)
- name: gitea_release
image: plugins/gitea-release
settings:
@@ -21,4 +37,5 @@ steps:
- crc32
title: ${DRONE_TAG}
when:
event: tag
ref:
- refs/tags/+(0-9).+(0-9).0