testcraft/.drone.yml
Timo Ley 9a541bb784
All checks were successful
continuous-integration/drone/push Build is passing
Fix CI
2021-04-06 15:48:10 +00:00

28 lines
691 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/testcraft-*-twitch.zip build/testcraft-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/testcraft-twitch.zip
- build/modlist.html
when:
event: tag
depends_on:
- build