From d597be858cdd8f5628b685ce53de973830493cbd Mon Sep 17 00:00:00 2001 From: Florian Brinker Date: Wed, 23 Oct 2019 10:27:35 +0200 Subject: [PATCH] Drone Releases --- .drone.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2c100b3..75204e0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,8 +12,8 @@ steps: - git clone https://git.f-brinker.de/fbrinker/elderscrolls-addon-achievementInfo.git sources - cd sources && git checkout $DRONE_COMMIT when: - branch: - - drone-builds + event: + - tag - name: build image: alpine @@ -23,8 +23,8 @@ steps: - mv sources AchievementInfo - zip -r "AchievementInfo-$DRONE_TAG.zip" ./AchievementInfo when: - branch: - - drone-builds + event: + - tag - name: release image: plugins/gitea-release @@ -35,7 +35,5 @@ steps: files: test.zip draft: true when: - branch: - - drone-builds event: - tag