From 3f30aa57eab4d019442b4a5b4150e2dfe890db0b Mon Sep 17 00:00:00 2001 From: Jared Shields Date: Mon, 31 Oct 2016 11:30:58 -0400 Subject: [PATCH] Modified package target for windows platform to generate a ZIP archive, instead of a TAR. Included with ZIP is the flag to convert LF to CRLF. (#4219) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bdf0e3a686c7e..30d4d9fee3368 100644 --- a/Makefile +++ b/Makefile @@ -336,7 +336,7 @@ else cp $(GOPATH)/bin/windows_amd64/platform.exe $(DIST_PATH)/bin # from cross-compiled bin dir endif @# Package - tar -C dist -czf $(DIST_PATH)-$(BUILD_TYPE_NAME)-windows-amd64.tar.gz mattermost + cd $(DIST_ROOT) && zip -9 -r -q -l mattermost-$(BUILD_TYPE_NAME)-windows-amd64.zip mattermost && cd .. @# Cleanup rm -f $(DIST_PATH)/bin/platform.exe