mirror of
https://github.com/thegeeklab/wp-github-comment.git
synced 2024-11-24 23:10:39 +00:00
build binaries
This commit is contained in:
parent
3cc933981c
commit
17db659310
@ -91,7 +91,8 @@ local PipelineBuildBinaries = {
|
|||||||
'[ -z "${DRONE_TAG}" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}',
|
'[ -z "${DRONE_TAG}" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}',
|
||||||
'mkdir -p release/',
|
'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' .",
|
"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/',
|
'mv /build/* /drone/src/release/',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
@ -69,7 +69,8 @@ steps:
|
|||||||
- "[ -z \"${DRONE_TAG}\" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}"
|
- "[ -z \"${DRONE_TAG}\" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}"
|
||||||
- mkdir -p release/
|
- 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' .
|
- 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/
|
- mv /build/* /drone/src/release/
|
||||||
|
|
||||||
- name: executable
|
- name: executable
|
||||||
@ -435,6 +436,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 847a87a07a8ac845a12e2ad3c7ec3b6907c54e63b6dc3faf6313b4cc5ca422f2
|
hmac: eac62dee32972ee5ccf29b0f59700da46bbc1837499f212669a39541527e22a4
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user