From 56cef47f8f14ad4e74d54ba9f54c01171b1b3e98 Mon Sep 17 00:00:00 2001 From: David Newhall II Date: Fri, 21 Jun 2019 02:45:46 -0700 Subject: [PATCH] zip windows file. --- .travis.yml | 1 + Makefile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 160ffa71..2c1449d1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,7 @@ addons: - git - libgnome-keyring-dev - fakeroot + - zip go: - 1.12.x services: diff --git a/Makefile b/Makefile index 002a2862..ba1857dc 100644 --- a/Makefile +++ b/Makefile @@ -23,8 +23,9 @@ all: man build release: clean test macos windows $(BINARY)-$(RPMVERSION)-$(ITERATION).x86_64.rpm $(BINARY)_$(VERSION)-$(ITERATION)_amd64.deb # Prepareing a release! mkdir -p release - mv $(BINARY).linux $(BINARY).macos $(BINARY).exe release/ + mv $(BINARY).linux $(BINARY).macos release/ gzip -9r release/ + zip -9qm release/unifi-poller.exe.zip unifi-poller.exe mv $(BINARY)-$(RPMVERSION)-$(ITERATION).x86_64.rpm $(BINARY)_$(VERSION)-$(ITERATION)_amd64.deb release/ # Generating File Hashes for i in release/*; do (openssl dgst -r -sha256 "$$i" | head -c64 ; echo) | tee "$$i.sha256.txt"; done