mirror of
https://github.com/thegeeklab/github-releases-notifier.git
synced 2024-11-14 18:10:40 +00:00
add checksum file generation
This commit is contained in:
parent
011b2f371c
commit
b3d29f3f85
@ -177,6 +177,14 @@ def binaries(arch):
|
|||||||
'ls -lah release/'
|
'ls -lah release/'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'name': 'checksum',
|
||||||
|
'image': 'alpine',
|
||||||
|
'commands': [
|
||||||
|
'cd release/ && sha256sum * > sha256sum.txt',
|
||||||
|
'cat sha256sum.txt'
|
||||||
|
],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
'name': 'publish',
|
'name': 'publish',
|
||||||
'image': 'plugins/github-release',
|
'image': 'plugins/github-release',
|
||||||
@ -185,6 +193,7 @@ def binaries(arch):
|
|||||||
'api_key': {
|
'api_key': {
|
||||||
'from_secret': 'github_token'
|
'from_secret': 'github_token'
|
||||||
},
|
},
|
||||||
|
'files': [ "release/*" ],
|
||||||
'title': '${DRONE_TAG}',
|
'title': '${DRONE_TAG}',
|
||||||
'note': 'CHANGELOG.md',
|
'note': 'CHANGELOG.md',
|
||||||
},
|
},
|
||||||
|
10
.drone.yml
10
.drone.yml
@ -250,11 +250,19 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
BUILD_VERSION: ${DRONE_TAG##v}
|
BUILD_VERSION: ${DRONE_TAG##v}
|
||||||
|
|
||||||
|
- name: checksum
|
||||||
|
image: alpine
|
||||||
|
commands:
|
||||||
|
- cd release/ && sha256sum * > sha256sum.txt
|
||||||
|
- cat sha256sum.txt
|
||||||
|
|
||||||
- name: publish
|
- name: publish
|
||||||
image: plugins/github-release
|
image: plugins/github-release
|
||||||
settings:
|
settings:
|
||||||
api_key:
|
api_key:
|
||||||
from_secret: github_token
|
from_secret: github_token
|
||||||
|
files:
|
||||||
|
- release/*
|
||||||
note: CHANGELOG.md
|
note: CHANGELOG.md
|
||||||
overwrite: true
|
overwrite: true
|
||||||
title: ${DRONE_TAG}
|
title: ${DRONE_TAG}
|
||||||
@ -345,6 +353,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 4c60720bd47e885df1e36d84a68edb5e4fb4f9030113a52dda16b37a7da11f85
|
hmac: dfd7579768ef56661e69f51498b32a2cedc72869c01876711963f7f9b8d76fc4
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
- FEATURE
|
||||||
|
- add env variable `GITHUB_REPOS`
|
||||||
|
- add env variable `IGNORE_PRE`
|
||||||
|
- INTERNAL
|
||||||
|
- provide also binary releases
|
||||||
|
- switch to gomod instead of vendor folder
|
Loading…
Reference in New Issue
Block a user