fix naming

This commit is contained in:
Robert Kaussow 2020-09-21 20:29:21 +02:00
parent ac2276d118
commit a04676d61c
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
2 changed files with 5 additions and 5 deletions

View File

@ -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',
],
},
{

View File

@ -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
...