more testing
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Nils Stinnesbeck 2021-01-02 23:13:26 +01:00
parent 151178c044
commit 76f4cc6e2e

View File

@ -9,7 +9,8 @@ local pipeline(arch, os) = {
"CGO_ENABLED": "0", "CGO_ENABLED": "0",
}, },
commands: [ commands: [
'go build -ldflags "-X main.version=${DRONE_TAG##v}" -o release/' + os + "/" + arch + "/ubnt-freifunk-map-api .", // 'go build -ldflags "-X main.version=${DRONE_TAG##v}" -o release/' + os + "/" + arch + "/ubnt-freifunk-map-api .",
'go build -o release/' + os + "/" + arch + "/ubnt-freifunk-map-api .",
"tar -cvzf release/ubnt-freifunk-map-api_"+ os + "/" + arch + ".tar.gz -C release/" + os + "/" + arch + " ubnt-freifunk-map-api" "tar -cvzf release/ubnt-freifunk-map-api_"+ os + "/" + arch + ".tar.gz -C release/" + os + "/" + arch + " ubnt-freifunk-map-api"
], ],
}, },