summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJared Shields <shieldsjared@gmail.com>2016-10-31 11:30:58 -0400
committerChristopher Speller <crspeller@gmail.com>2016-10-31 11:30:58 -0400
commit3f30aa57eab4d019442b4a5b4150e2dfe890db0b (patch)
tree3aa9cb047dd8db877442272f28c8e96e82c1d1e3 /Makefile
parenta8e772fa4878e3004e5399d85b7105dee3859312 (diff)
downloadchat-3f30aa57eab4d019442b4a5b4150e2dfe890db0b.tar.gz
chat-3f30aa57eab4d019442b4a5b4150e2dfe890db0b.tar.bz2
chat-3f30aa57eab4d019442b4a5b4150e2dfe890db0b.zip
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)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bdf0e3a68..30d4d9fee 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