0
0
mirror of https://github.com/thegeeklab/wp-github-comment.git synced 2024-11-22 00:00:42 +00:00

build binaries

This commit is contained in:
Robert Kaussow 2020-09-20 23:11:26 +02:00
parent 3cc933981c
commit 17db659310
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
2 changed files with 5 additions and 3 deletions

View File

@ -91,7 +91,8 @@ local PipelineBuildBinaries = {
'[ -z "${DRONE_TAG}" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}',
'mkdir -p release/',
"cd cmd/drone-github-comment && xgo -ldflags \"-s -w -X main.Version=$BUILD_VERSION\" -tags netgo -targets 'linux/amd64,linux/arm-6,linux/arm64' .",
'ls -la',
'ls -la /drone/src',
'ls -la /build*',
'mv /build/* /drone/src/release/',
],
},

View File

@ -69,7 +69,8 @@ steps:
- "[ -z \"${DRONE_TAG}\" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}"
- mkdir -p release/
- cd cmd/drone-github-comment && xgo -ldflags "-s -w -X main.Version=$BUILD_VERSION" -tags netgo -targets 'linux/amd64,linux/arm-6,linux/arm64' .
- ls -la
- ls -la /drone/src
- ls -la /build*
- mv /build/* /drone/src/release/
- name: executable
@ -435,6 +436,6 @@ depends_on:
---
kind: signature
hmac: 847a87a07a8ac845a12e2ad3c7ec3b6907c54e63b6dc3faf6313b4cc5ca422f2
hmac: eac62dee32972ee5ccf29b0f59700da46bbc1837499f212669a39541527e22a4
...