testcraft/.drone.yml
2021-03-07 13:50:59 +01:00

27 lines
697 B
YAML

kind: pipeline
name: release
steps:
- name: build
image: alpine
commands:
- apk add openjdk8-jre curl
- ./mpt buildtwitch
- ./mpt createmodlist HTML build/modlist.html
- mv build/testcraftp2-*-twitch.zip build/testcraftp2-twitch.zip
- name: publish
image: plugins/gitea-release
settings:
base_url: https://data.tilera.xyz/git
api_key:
from_secret: gitea_token
note: CHANGELOG.md
title: tag-${DRONE_TAG}
files:
- build/testcraftp2-twitch.zip
- build/modlist.html
when:
event: tag
depends_on:
- build