testcraft/.drone.yml

28 lines
686 B
YAML
Raw Normal View History

2021-03-07 13:50:59 +01:00
kind: pipeline
name: release
steps:
- name: build
image: alpine
commands:
- apk add openjdk8-jre curl
- ./mpt buildtwitch
- ./mpt createmodlist HTML build/modlist.html
2021-04-06 17:48:10 +02:00
- mv build/testcraft-*-twitch.zip build/testcraft-twitch.zip
2021-03-07 13:50:59 +01:00
- name: publish
image: plugins/gitea-release
settings:
2021-06-01 18:48:31 +02:00
base_url: https://tilera.xyz/git
2021-03-07 13:50:59 +01:00
api_key:
from_secret: gitea_token
note: CHANGELOG.md
title: tag-${DRONE_TAG}
files:
2021-04-06 17:48:10 +02:00
- build/testcraft-twitch.zip
2021-03-07 13:50:59 +01:00
- build/modlist.html
when:
event: tag
depends_on:
- build