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:
|
||||
- echo "exa ${DRONE_TAG} - built@$(date '+%FT%TZ') [Drone ${DRONE_SYSTEM_VERSION}]" > ./release_note
|
||||
- cat ./release_note
|
||||
- name: publish release
|
||||
- name: publish gitea release
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
api_key:
|
||||
@@ -61,6 +61,21 @@ steps:
|
||||
file_exists: "skip"
|
||||
when:
|
||||
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
|
||||
image: plugins/slack
|
||||
settings:
|
||||
|
||||
Reference in New Issue
Block a user