Merge branch 'release/v1.2.7' into devel

This commit is contained in:
Jakub
2020-04-27 15:54:02 +02:00
5 changed files with 21 additions and 8 deletions

View File

@ -2,7 +2,7 @@ export GO111MODULE=on
GOOS:=$(shell go env GOOS)
## Build
.PHONY: build check-has-go
.PHONY: build build-nogui check-has-go
VERSION?=1.2.7-git
REVISION:=$(shell git rev-parse --short=10 HEAD)
@ -36,6 +36,9 @@ TGZ_TARGET:=bridge_${GOOS}_${REVISION}.tgz
build: ${TGZ_TARGET}
build-nogui:
go build ${BUILD_FLAGS_NOGUI} -o Desktop-Bridge cmd/Desktop-Bridge/main.go
${TGZ_TARGET}: ${DEPLOY_DIR}/${GOOS}
rm -f $@
cd ${DEPLOY_DIR} && tar czf ../../../$@ ${GOOS}