add github release to .drone.yml
All checks were successful
continuous-integration/drone/tag Build is passing
All checks were successful
continuous-integration/drone/tag Build is passing
This commit is contained in:
17
.drone.yml
17
.drone.yml
@@ -46,7 +46,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- echo "exa ${DRONE_TAG} - built@$(date '+%FT%TZ') [Drone ${DRONE_SYSTEM_VERSION}]" > ./release_note
|
- echo "exa ${DRONE_TAG} - built@$(date '+%FT%TZ') [Drone ${DRONE_SYSTEM_VERSION}]" > ./release_note
|
||||||
- cat ./release_note
|
- cat ./release_note
|
||||||
- name: publish release
|
- name: publish gitea release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
settings:
|
settings:
|
||||||
api_key:
|
api_key:
|
||||||
@@ -61,6 +61,21 @@ steps:
|
|||||||
file_exists: "skip"
|
file_exists: "skip"
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
- name: publish github release
|
||||||
|
image: plugins/github-release
|
||||||
|
settings:
|
||||||
|
api_key:
|
||||||
|
from_secret: GITHUB_KEY
|
||||||
|
files:
|
||||||
|
- ./exa-${DRONE_TAG}.txz
|
||||||
|
checksum:
|
||||||
|
- md5
|
||||||
|
title: ${DRONE_TAG}
|
||||||
|
note: ./release_note
|
||||||
|
file_exists: "skip"
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
|
||||||
- name: slack
|
- name: slack
|
||||||
image: plugins/slack
|
image: plugins/slack
|
||||||
settings:
|
settings:
|
||||||
|
|||||||
Reference in New Issue
Block a user