From a04676d61c9820230e8addd16401b511db09b75f Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 21 Sep 2020 20:29:21 +0200 Subject: [PATCH] fix naming --- .drone.jsonnet | 4 ++-- .drone.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index f314bc5..332022c 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -97,7 +97,7 @@ local PipelineBuildBinaries = { commands: [ '[ -z "${DRONE_TAG}" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}', 'mkdir -p release/', - "cd cmd/github-releases-notifier && xgo -ldflags \"-s -w -X main.version=$BUILD_VERSION\" -tags netgo -targets 'linux/amd64,linux/arm-6,linux/arm64' -out github-releases-notifier .", + "cd cmd/url-parser && xgo -ldflags \"-s -w -X main.version=$BUILD_VERSION\" -tags netgo -targets 'linux/amd64,linux/arm-6,linux/arm64' -out url-parser .", 'mv /build/* /drone/src/release/', ], }, @@ -105,7 +105,7 @@ local PipelineBuildBinaries = { name: 'executable', image: 'alpine', commands: [ - '$(find release/ -executable -type f | grep github-releases-notifier-linux-amd64) --help', + '$(find release/ -executable -type f | grep url-parser-linux-amd64) --help', ], }, { diff --git a/.drone.yml b/.drone.yml index f37ef8b..4d6f52c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -71,13 +71,13 @@ steps: commands: - "[ -z \"${DRONE_TAG}\" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}" - mkdir -p release/ - - cd cmd/github-releases-notifier && xgo -ldflags "-s -w -X main.version=$BUILD_VERSION" -tags netgo -targets 'linux/amd64,linux/arm-6,linux/arm64' -out github-releases-notifier . + - cd cmd/url-parser && xgo -ldflags "-s -w -X main.version=$BUILD_VERSION" -tags netgo -targets 'linux/amd64,linux/arm-6,linux/arm64' -out url-parser . - mv /build/* /drone/src/release/ - name: executable image: alpine commands: - - $(find release/ -executable -type f | grep github-releases-notifier-linux-amd64) --help + - $(find release/ -executable -type f | grep url-parser-linux-amd64) --help - name: compress image: alpine @@ -153,6 +153,6 @@ depends_on: --- kind: signature -hmac: 5ca11cf4dc76a28155711c9665abeab4a3e61a5bd8c819588a76ba8baef16cfe +hmac: 863651dc0ce1a9591377f87fdfa917ef9926743c2dc5cc5e7fa1256d30af1909 ...