This commit is contained in:
LordMZTE 2021-03-07 13:50:59 +01:00
parent f047c70dcb
commit f22f294ad5
2 changed files with 27 additions and 0 deletions

27
.drone.yml Normal file
View file

@ -0,0 +1,27 @@
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

0
mpt Normal file → Executable file
View file