Fix release trigger in drone

This commit is contained in:
kolaente 2020-10-19 20:35:23 +02:00
parent 688ca65edf
commit 80367d60d4
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -417,7 +417,7 @@ steps:
strip_prefix: dist/zip/
source: dist/zip/*
target: /api/master/
trigger:
when:
branch:
- master
event:
@ -439,7 +439,7 @@ steps:
strip_prefix: dist/zip/
source: dist/zip/*
target: /api/${DRONE_TAG##v}/
trigger:
when:
event:
- tag
depends_on: [ sign-release ]
@ -469,7 +469,7 @@ steps:
strip_prefix: dist/os-packages/
source: dist/os-packages/*
target: /api/master/
trigger:
when:
branch:
- master
event:
@ -491,7 +491,7 @@ steps:
strip_prefix: dist/os-packages/
source: dist/os-packages/*
target: /api/${DRONE_TAG##v}/
trigger:
when:
event:
- tag
depends_on: [ build-os-packages ]