From a182e6139edd924a58763b98fd10711d23ae5e5e Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 3 Feb 2020 01:01:51 +0100 Subject: [PATCH] fix grep --- .drone.star | 7 +++---- .drone.yml | 9 ++++----- url-parser-ae8bf9f3-linux-amd64 | 0 3 files changed, 7 insertions(+), 9 deletions(-) create mode 100755 url-parser-ae8bf9f3-linux-amd64 diff --git a/.drone.star b/.drone.star index 6f62951..c4ef039 100644 --- a/.drone.star +++ b/.drone.star @@ -69,11 +69,10 @@ def binaries(arch): }, { 'name': 'executable', - 'image': 'golang:1.12', + 'image': 'alpine', 'commands': [ - 'ls -lah release/', - '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', + '$(find release/ -executable -type f | grep url-parser-.*-linux-amd64) --help', ] }, { diff --git a/.drone.yml b/.drone.yml index 230da42..701191c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -43,11 +43,10 @@ steps: - cp /build/* /drone/src/release/ - name: executable - image: golang:1.12 + image: alpine commands: - - ls -lah release/ - - 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 + - $(find release/ -executable -type f | grep url-parser-.*-linux-amd64) --help - name: checksum image: alpine @@ -113,6 +112,6 @@ depends_on: --- kind: signature -hmac: a0ec5f8871573fcc5db9ca24c35445fa843d573f2cbbf9fe9eefaf87aacc9190 +hmac: 6f853f3ee5b938c3cb8013f962bf3c370ae0b2da34265dbbf2cee3b3369f8170 ... diff --git a/url-parser-ae8bf9f3-linux-amd64 b/url-parser-ae8bf9f3-linux-amd64 new file mode 100755 index 0000000..e69de29