Skip to content

Commit

Permalink
chore(makefile): create .zip archives after build tasks on release
Browse files Browse the repository at this point in the history
  • Loading branch information
hbollon committed Mar 21, 2022
1 parent e3be683 commit 549c602
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
NAME := IGopher
FILES := $(wildcard */*.go)
VERSION := $(shell git describe --always)
BIN_DIR := bin/
BIN_DIR := bin/
BUNDLE_DIR := cmd/igopher/gui-bundler/output/
VUE_DIST_DIR := resources/static/vue-igopher/dist/

Expand Down Expand Up @@ -79,6 +79,11 @@ bundle: build-vue install
## release: Build binaries for all platforms for both GUI and TUI
.PHONY: release
release: build-all bundle
cd ./cmd/igopher/gui-bundler/output/ && \
zip -r IGopherGUI-linux-amd64.zip linux-amd64 && \
zip -r IGopherGUI-windows-amd64.zip windows-amd64 && \
zip -r IGopherGUI-darwin-amd64.zip darwin-amd64


## install: Install go dependencies
.PHONY: install
Expand Down

0 comments on commit 549c602

Please sign in to comment.