aboutsummaryrefslogtreecommitdiffstats
path: root/client/go
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2022-03-24 13:14:48 +0100
committerMartin Polden <mpolden@mpolden.no>2022-03-24 13:19:01 +0100
commit7a7e615253891b0c5552ea2aff1a5c8186e35ae3 (patch)
tree83fd7b7ff3653cedbfd510cbf1f99e0afa8c8d0c /client/go
parent7d8808a32d70cbf17a45059b4541e350307c01dd (diff)
Make wildcard expansion work in build env
Diffstat (limited to 'client/go')
-rw-r--r--client/go/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/go/Makefile b/client/go/Makefile
index 63922acb518..192c9665225 100644
--- a/client/go/Makefile
+++ b/client/go/Makefile
@@ -53,7 +53,8 @@ dist-homebrew:
# TODO(mpolden): Remove @echo when this is ready
@echo gh release create v$(VERSION) --repo vespa-engine/vespa --notes-file $(CURDIR)/README.md --title "Vespa CLI $(VERSION)" \
$(DIST)/vespa-cli_$(VERSION)_sha256sums.txt \
- $(DIST)/vespa-cli_$(VERSION)_*.{zip,tar.gz}
+ $(DIST)/vespa-cli_$(VERSION)_*.zip \
+ $(DIST)/vespa-cli_$(VERSION)_*.tar.gz
dist-github:
go run cond_make.go --dist-github
@@ -96,7 +97,7 @@ $(DIST_TARGETS):
fi
dist-sha256sums:
- cd $(DIST) && sha256sum vespa-cli_$(VERSION)_*.{zip,tar.gz} > vespa-cli_$(VERSION)_sha256sums.txt
+ sha256sum $(DIST)/vespa-cli_$(VERSION)_*.zip $(DIST)/vespa-cli_$(VERSION)_*.tar.gz | sed 's|$(DIST)/||' > $(DIST)/vespa-cli_$(VERSION)_sha256sums.txt
dist-version:
ifeq ($(VERSION),$(DEVEL_VERSION))