fix: correct drone.yml yaml schema - use arrays for event and status

This commit is contained in:
Stefan Goppelt 2026-03-29 16:30:12 +02:00
parent 0ebb212b65
commit 5e8660ebd1
1 changed files with 6 additions and 3 deletions

View File

@ -3,7 +3,8 @@ type: docker
name: go-lib/util name: go-lib/util
trigger: trigger:
event: tag event:
- tag
ref: ref:
- refs/tags/v* - refs/tags/v*
@ -25,7 +26,8 @@ steps:
commands: commands:
- tar czf .build/sources.tar.gz --exclude=.build --exclude=.git --exclude=.drone.yml . - tar czf .build/sources.tar.gz --exclude=.build --exclude=.git --exclude=.drone.yml .
when: when:
status: success status:
- success
- name: release - name: release
image: plugins/gitea-release image: plugins/gitea-release
@ -38,4 +40,5 @@ steps:
title: ${DRONE_TAG} title: ${DRONE_TAG}
note: "Release ${DRONE_TAG}\n\nCoverage report: coverage.txt" note: "Release ${DRONE_TAG}\n\nCoverage report: coverage.txt"
when: when:
status: success status:
- success