mirror of
https://github.com/thegeeklab/github-releases-notifier.git
synced 2024-11-21 22:40:39 +00:00
cleanup drone config
This commit is contained in:
parent
c3a4dc665c
commit
57418eaed5
@ -168,8 +168,7 @@ def binaries(arch):
|
|||||||
'[ -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/',
|
||||||
"xgo -ldflags \"-X main.Version=$BUILD_VERSION\" -tags netgo -targets 'linux/amd64,linux/arm-6,linux/arm64' -out github-releases-notifier-$BUILD_VERSION .",
|
"xgo -ldflags \"-X main.Version=$BUILD_VERSION\" -tags netgo -targets 'linux/amd64,linux/arm-6,linux/arm64' -out github-releases-notifier-$BUILD_VERSION .",
|
||||||
'cp /build/* release/',
|
'cp /build/* release/'
|
||||||
'ls -lah release/'
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -240,7 +240,6 @@ steps:
|
|||||||
- mkdir -p release/
|
- mkdir -p release/
|
||||||
- xgo -ldflags "-X main.Version=$BUILD_VERSION" -tags netgo -targets 'linux/amd64,linux/arm-6,linux/arm64' -out github-releases-notifier-$BUILD_VERSION .
|
- xgo -ldflags "-X main.Version=$BUILD_VERSION" -tags netgo -targets 'linux/amd64,linux/arm-6,linux/arm64' -out github-releases-notifier-$BUILD_VERSION .
|
||||||
- cp /build/* release/
|
- cp /build/* release/
|
||||||
- ls -lah release/
|
|
||||||
|
|
||||||
- name: checksum
|
- name: checksum
|
||||||
image: alpine
|
image: alpine
|
||||||
@ -344,6 +343,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: db1cd58f6fe402fec379a32614bbda189901ac1b80e92fa20a552bd69eddff20
|
hmac: 982d7a70f6cd3914794b3d085b7f949e72445698d9d4af06323239f98cf83058
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user