This commit is contained in:
Robert Kaussow 2020-02-03 01:01:51 +01:00
parent ae8bf9f34f
commit a182e6139e
3 changed files with 7 additions and 9 deletions

View File

@ -69,11 +69,10 @@ def binaries(arch):
}, },
{ {
'name': 'executable', 'name': 'executable',
'image': 'golang:1.12', 'image': 'alpine',
'commands': [ 'commands': [
'ls -lah release/', 'find release/ -executable -type f | grep url-parser-.*-linux-amd64',
'find release/ -executable -type f | grep url-parser-*-linux-amd64', '$(find release/ -executable -type f | grep url-parser-.*-linux-amd64) --help',
'$(find release/ -executable -type f | grep url-parser-*-linux-amd64) --help',
] ]
}, },
{ {

View File

@ -43,11 +43,10 @@ steps:
- cp /build/* /drone/src/release/ - cp /build/* /drone/src/release/
- name: executable - name: executable
image: golang:1.12 image: alpine
commands: commands:
- ls -lah release/ - find release/ -executable -type f | grep url-parser-.*-linux-amd64
- find release/ -executable -type f | grep url-parser-*-linux-amd64 - $(find release/ -executable -type f | grep url-parser-.*-linux-amd64) --help
- $(find release/ -executable -type f | grep url-parser-*-linux-amd64) --help
- name: checksum - name: checksum
image: alpine image: alpine
@ -113,6 +112,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: a0ec5f8871573fcc5db9ca24c35445fa843d573f2cbbf9fe9eefaf87aacc9190 hmac: 6f853f3ee5b938c3cb8013f962bf3c370ae0b2da34265dbbf2cee3b3369f8170
... ...

View File