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)

This commit is contained in:
Jared Shields
2016-10-31 11:30:58 -04:00
committed by Christopher Speller
parent a8e772fa48
commit 3f30aa57ea

View File

@@ -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