fix: generate checksum for k3d binaries (#1209)

pull/1119/head
Kamesh Sampath 2 years ago committed by GitHub
parent 5324cf69fe
commit 44fa237c79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      Makefile

@ -126,6 +126,9 @@ build:
build-cross: LDFLAGS += -extldflags "-static"
build-cross:
CGO_ENABLED=0 gox -parallel=3 -output="_dist/$(BINARIES)-{{.OS}}-{{.Arch}}" -osarch='$(TARGETS)' $(GOFLAGS) $(if $(TAGS),-tags '$(TAGS)',) -ldflags '$(LDFLAGS)'
gen-checksum: build-cross
$(eval ARTIFACTS_TO_PUBLISH := $(shell ls _dist/*))
$$(sha256sum $(ARTIFACTS_TO_PUBLISH) > _dist/checksums.txt)
# build a specific docker target ( '%' matches the target as specified in the Dockerfile)
build-docker-%:

Loading…
Cancel
Save