Makefile: handle msi packages correctly
With the current Makefile, both the msi and exe files get combined into one zip file. This is not the expected behavior, which this change fixes. It strips off only .exe from filenames going forward and leaves every other extension intact. Change-Id: If8132b1427eec7a9e5ebd7ac6b8b3e9d12524080
This commit is contained in:
parent
c1ca470e7e
commit
7161506b68
2
Makefile
2
Makefile
@ -306,7 +306,7 @@ push-images: ## Push Docker images to Docker Hub (jenkins)
|
||||
.PHONY: binaries-upload
|
||||
binaries-upload: ## Upload binaries to Google Storage (jenkins)
|
||||
cd "release/${TAG}"; for f in *; do \
|
||||
zipname=$$(echo "$${f}" | awk -F. '{print $$(NF-1)}') && \
|
||||
zipname=$$(echo $${f} | sed 's/.exe//g') && \
|
||||
zip "$${zipname}.zip" "$${f}" \
|
||||
; done
|
||||
cd "release/${TAG}"; gsutil -m cp -r *.zip "gs://storj-v3-alpha-builds/${TAG}/"
|
||||
|
Loading…
Reference in New Issue
Block a user