fix: correct drone.yml yaml schema - use arrays for event and status
This commit is contained in:
parent
0ebb212b65
commit
5e8660ebd1
|
|
@ -3,7 +3,8 @@ type: docker
|
|||
name: go-lib/util
|
||||
|
||||
trigger:
|
||||
event: tag
|
||||
event:
|
||||
- tag
|
||||
ref:
|
||||
- refs/tags/v*
|
||||
|
||||
|
|
@ -25,7 +26,8 @@ steps:
|
|||
commands:
|
||||
- tar czf .build/sources.tar.gz --exclude=.build --exclude=.git --exclude=.drone.yml .
|
||||
when:
|
||||
status: success
|
||||
status:
|
||||
- success
|
||||
|
||||
- name: release
|
||||
image: plugins/gitea-release
|
||||
|
|
@ -38,4 +40,5 @@ steps:
|
|||
title: ${DRONE_TAG}
|
||||
note: "Release ${DRONE_TAG}\n\nCoverage report: coverage.txt"
|
||||
when:
|
||||
status: success
|
||||
status:
|
||||
- success
|
||||
Loading…
Reference in New Issue