mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-16 07:06:45 +00:00
fix: app version and variable location
This commit is contained in:
committed by
Jakub Cuth
parent
0589f329e9
commit
bb5227c1f4
2
Makefile
2
Makefile
@ -11,7 +11,7 @@ BUILD_TIME:=$(shell date +%FT%T%z)
|
|||||||
BUILD_TAGS?=pmapi_prod
|
BUILD_TAGS?=pmapi_prod
|
||||||
BUILD_FLAGS:=-tags='${BUILD_TAGS}'
|
BUILD_FLAGS:=-tags='${BUILD_TAGS}'
|
||||||
BUILD_FLAGS_NOGUI:=-tags='${BUILD_TAGS} nogui'
|
BUILD_FLAGS_NOGUI:=-tags='${BUILD_TAGS} nogui'
|
||||||
GO_LDFLAGS:=$(addprefix -X main.,Version=${BRIDGE_VERSION} Revision=${REVISION} BuildTime=${BUILD_TIME})
|
GO_LDFLAGS:=$(addprefix -X github.com/ProtonMail/proton-bridge/pkg/constants.,Version=${BRIDGE_VERSION} Revision=${REVISION} BuildTime=${BUILD_TIME})
|
||||||
ifneq "${BUILD_LDFLAGS}" ""
|
ifneq "${BUILD_LDFLAGS}" ""
|
||||||
GO_LDFLAGS+= ${BUILD_LDFLAGS}
|
GO_LDFLAGS+= ${BUILD_LDFLAGS}
|
||||||
endif
|
endif
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
.PHONY: check-has-go install-godog test test-live test-debug test-live-debug
|
.PHONY: check-has-go install-godog test test-live test-debug test-live-debug
|
||||||
|
|
||||||
export GO111MODULE=on
|
export GO111MODULE=on
|
||||||
export BRIDGE_VERSION:=dev-integrationtests
|
export BRIDGE_VERSION:=1.2.7-integrationtests
|
||||||
export VERBOSITY?=fatal
|
export VERBOSITY?=fatal
|
||||||
export TEST_DATA=testdata
|
export TEST_DATA=testdata
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user