diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..f4f1632 --- /dev/null +++ b/.drone.yml @@ -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 + diff --git a/mpt b/mpt old mode 100644 new mode 100755