Fix trigger for pushing release artifacts to drone

This commit is contained in:
kolaente 2020-10-18 13:59:26 +02:00
parent 618353bf95
commit b94950d7c2
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -419,8 +419,9 @@ steps:
target: /api/master/ target: /api/master/
trigger: trigger:
branch: branch:
include: - master
- master event:
- push
depends_on: [ sign-release ] depends_on: [ sign-release ]
- name: release-version - name: release-version
@ -439,11 +440,8 @@ steps:
source: dist/zip/* source: dist/zip/*
target: /api/${DRONE_TAG##v}/ target: /api/${DRONE_TAG##v}/
trigger: trigger:
ref: event:
- "refs/tags/**" - tag
branch:
exclude:
- master
depends_on: [ sign-release ] depends_on: [ sign-release ]
# Build os packages and push it to our bucket # Build os packages and push it to our bucket
@ -472,8 +470,9 @@ steps:
target: /api/master/ target: /api/master/
trigger: trigger:
branch: branch:
include: - master
- master event:
- push
depends_on: [ build-os-packages ] depends_on: [ build-os-packages ]
- name: release-os-version - name: release-os-version
@ -492,11 +491,8 @@ steps:
source: dist/os-packages/* source: dist/os-packages/*
target: /api/${DRONE_TAG##v}/ target: /api/${DRONE_TAG##v}/
trigger: trigger:
ref: event:
- "refs/tags/**" - tag
branch:
exclude:
- master
depends_on: [ build-os-packages ] depends_on: [ build-os-packages ]
- name: deb-structure - name: deb-structure