Skip to content

Commit 14d4043

Browse files
committed
Add native zip format of the windows artifacts
Signed-off-by: Anders F Björklund <[email protected]>
1 parent 8606f92 commit 14d4043

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ DEST := $(shell echo "$(DESTDIR)/$(PREFIX)" | sed 's:///*:/:g; s://*$$::')
44

55
GO ?= go
66
TAR ?= tar
7+
ZIP ?= zip
78
PLANTUML ?= plantuml # may also be "java -jar plantuml.jar" if installed elsewhere
89

910
GOOS ?= $(shell $(GO) env GOOS)
@@ -138,6 +139,7 @@ artifacts-windows:
138139
mkdir -p _artifacts
139140
GOOS=windows GOARCH=amd64 CC=x86_64-w64-mingw32-gcc make clean binaries
140141
$(TAR) -C _output/ -czvf _artifacts/lima-$(VERSION_TRIMMED)-Windows-x86_64.tar.gz ./
142+
cd _output && $(ZIP) -r ../_artifacts/lima-$(VERSION_TRIMMED)-Windows-x86_64.zip *
141143

142144
.PHONY: artifacts-misc
143145
artifacts-misc:

0 commit comments

Comments
 (0)