From a7fcf316d8a80710d35a8805fa81c83aabc1ba33 Mon Sep 17 00:00:00 2001 From: Florian Brinker Date: Wed, 23 Oct 2019 10:21:37 +0200 Subject: [PATCH] Drone Releases --- .drone.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index cd1e8e9..39d2731 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,6 +11,9 @@ steps: commands: - git clone https://git.f-brinker.de/fbrinker/elderscrolls-addon-achievementInfo.git sources - cd sources && git checkout $DRONE_COMMIT + when: + branch: + - drone-builds - name: build image: alpine @@ -19,6 +22,10 @@ steps: - rm -rf sources/.git - mv sources AchievementInfo - zip -r "AchievementInfo-$DRONE_TAG.zip" ./AchievementInfo + when: + branch: + - drone-builds +# event: tag - name: release image: plugins/gitea-release @@ -28,6 +35,7 @@ steps: from_secret: gitea_token files: test.zip draft: true - -when: - event: tag + when: + branch: + - drone-builds +# event: tag