chore: add github-release plugin (#540)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
This commit is contained in:
parent
f9a0f2c785
commit
4c85cb3058
32
.drone.yml
32
.drone.yml
@ -93,6 +93,38 @@ steps:
|
||||
depends_on:
|
||||
- basic-integration
|
||||
|
||||
- name: release
|
||||
image: autonomy/build-container:latest
|
||||
pull: always
|
||||
commands:
|
||||
- make clean
|
||||
- make release
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run
|
||||
when:
|
||||
event: tag
|
||||
depends_on:
|
||||
- basic-integration
|
||||
|
||||
- name: publish
|
||||
image: plugins/github-release
|
||||
settings:
|
||||
api_key:
|
||||
from_secret: github_token
|
||||
title: release.txt
|
||||
draft: true
|
||||
note: CHANGELOG.md
|
||||
files:
|
||||
- build/*
|
||||
checksum:
|
||||
- sha256
|
||||
- sha512
|
||||
when:
|
||||
event: tag
|
||||
depends_on:
|
||||
- release
|
||||
|
||||
volumes:
|
||||
- name: dockersock
|
||||
temp: {}
|
||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -20,3 +20,5 @@ coverage.txt
|
||||
|
||||
# buildkit cache
|
||||
.buildkit/
|
||||
|
||||
release.txt
|
||||
|
Loading…
Reference in New Issue
Block a user