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
|
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
|
||||||
Loading…
Reference in New Issue