From fa6ce3ea25cacd12d9b52660287932f8723d79dc Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 3 Feb 2020 00:14:09 +0100 Subject: [PATCH] debug --- .drone.star | 1 + .drone.yml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.drone.star b/.drone.star index 41bdaed..b9ce03a 100644 --- a/.drone.star +++ b/.drone.star @@ -63,6 +63,7 @@ def binaries(arch): 'commands': [ '[ -z "${DRONE_TAG}" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}', 'mkdir -p release/', + "ls -lh", "xgo -ldflags \"-X main.Version=$BUILD_VERSION\" -tags netgo -targets 'linux/amd64,linux/arm-6,linux/arm64' -out url-parser-$BUILD_VERSION ./cmd/url-parser", 'cp /build/* release/' ] diff --git a/.drone.yml b/.drone.yml index 5585840..6e669d5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -39,6 +39,7 @@ steps: commands: - "[ -z \"${DRONE_TAG}\" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}" - mkdir -p release/ + - ls -lh - xgo -ldflags "-X main.Version=$BUILD_VERSION" -tags netgo -targets 'linux/amd64,linux/arm-6,linux/arm64' -out url-parser-$BUILD_VERSION ./cmd/url-parser - cp /build/* release/ @@ -111,6 +112,6 @@ depends_on: --- kind: signature -hmac: 3c27762ebfb16c87206081475353f598923952f31bf58defe136a142c4dd0959 +hmac: 09c4c7b333827ec19925d9d33aae7c014f9dbfc8b35f2078419de0ba0a30c19a ...