Add drone config to automatically build releases
All checks were successful
continuous-integration/drone/tag Build is passing
All checks were successful
continuous-integration/drone/tag Build is passing
This commit is contained in:
parent
205c943b7e
commit
814dd87273
23
.drone.yml
Normal file
23
.drone.yml
Normal file
@ -0,0 +1,23 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: python
|
||||
commands:
|
||||
- pip install git+https://git.adamgoldsmith.name/adam/tts_yaml_unpacker
|
||||
- tts_yaml_unpacker pack unpacked.yaml "Arkham SCE Adam_${DRONE_TAG}.json"
|
||||
- python -m zipfile -c "Arkham SCE Adam_${DRONE_TAG}.zip" "Arkham SCE Adam_${DRONE_TAG}.json"
|
||||
- name: release
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
api_key:
|
||||
from_secret: Gitea_API_Key
|
||||
base_url: https://git.adamgoldsmith.name
|
||||
files: "Arkham SCE Adam_${DRONE_TAG}.zip"
|
||||
title: "Patched ${DRONE_TAG}"
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
Loading…
Reference in New Issue
Block a user