From 1438d14e3dba1039a5d3cbe2cf65fb0050b8941a Mon Sep 17 00:00:00 2001 From: Florian Brinker Date: Wed, 23 Oct 2019 10:12:53 +0200 Subject: [PATCH] Drone Releases --- .drone.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 56f373b..1d725a2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,15 +2,23 @@ kind: pipeline name: default +clone: + disable: true + steps: +- name: clone + image: alpine/git + commands: + - git clone git@git.f-brinker.de:fbrinker/elderscrolls-addon-achievementInfo.git sources + - git checkout $DRONE_COMMIT - name: build image: alpine commands: - apk update && apk add --no-cache zip - - ls -al - - pwd - - zip -r test.zip . + - rm -rf sources/.git + - mv sources achievementInfo-draft + - zip -r achievementInfo.zip ./achievementInfo-draft # when: # event: tag