forked from Anvilcraft/Notex-3
This commit is contained in:
parent
0c3ad21620
commit
a876a304e5
2 changed files with 34 additions and 0 deletions
31
.drone.yml
Normal file
31
.drone.yml
Normal file
|
@ -0,0 +1,31 @@
|
|||
kind: pipeline
|
||||
name: release
|
||||
steps:
|
||||
- name: build
|
||||
image: alpine
|
||||
commands:
|
||||
- apk add openjdk8-jre haxe curl neko
|
||||
- curl 'https://data.tilera.xyz/file/mpt/mpt-1.2-SNAPSHOT.jar' -o mpt.jar
|
||||
- haxelib setup /usr/share/haxe/lib
|
||||
- haxelib install kubejs
|
||||
|
||||
- ./buildhaxe.sh
|
||||
- java -jar mpt.jar buildtwitch
|
||||
|
||||
- mv build/notex-*-twitch.zip build/notex-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/notex-twitch.zip
|
||||
when:
|
||||
event: tag
|
||||
depends_on:
|
||||
- release
|
||||
|
3
CHANGELOG.md
Normal file
3
CHANGELOG.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
# v0.1.0
|
||||
initial release
|
||||
|
Loading…
Reference in a new issue