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