0
0
mirror of https://github.com/thegeeklab/wp-github-comment.git synced 2024-11-21 13:50:40 +00:00

build binaries

This commit is contained in:
Robert Kaussow 2020-09-20 23:02:12 +02:00
parent 0390291e20
commit 587f406bf7
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
2 changed files with 3 additions and 3 deletions

View File

@ -91,8 +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' .",
'mv /build/* /drone/src/release/',
'tree',
'mv /build/* /drone/src/release/',
],
},
{

View File

@ -69,8 +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' .
- mv /build/* /drone/src/release/
- tree
- mv /build/* /drone/src/release/
- name: executable
image: alpine
@ -435,6 +435,6 @@ depends_on:
---
kind: signature
hmac: 0d007f57486ff2d02d96a19946151cd30a3418d5d24f251728383580bfd4e720
hmac: 647ad7d045ea85060bb354182833731c0c0485344c02805fd282faaa081001d5
...