mirror of
https://github.com/thegeeklab/url-parser.git
synced 2024-11-17 18:50:42 +00:00
fix naming
This commit is contained in:
parent
ac2276d118
commit
a04676d61c
@ -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',
|
||||
],
|
||||
},
|
||||
{
|
||||
|
@ -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
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user