elderscrolls-addon-achievem.../.drone.yml
Florian Brinker 6b43f94b78
Some checks failed
continuous-integration/drone/push Build is failing
Drone Releases
2019-10-23 10:19:46 +02:00

34 lines
661 B
YAML

---
kind: pipeline
name: default
clone:
disable: true
steps:
- name: clone
image: alpine/git
commands:
- git clone https://git.f-brinker.de/fbrinker/elderscrolls-addon-achievementInfo.git sources
- cd sources && git checkout $DRONE_COMMIT
- name: build
image: alpine
commands:
- apk update && apk add --no-cache zip
- rm -rf sources/.git
- mv sources AchievementInfo
- zip -r "AchievementInfo-$DRONE_TAG.zip" ./AchievementInfo
- name: release
image: plugins/gitea-release
settings:
base_url: https://git.f-brinker.de
api_key:
from_secret: gitea_token
files: test.zip
draft: true
when:
event: tag