diff --git a/Makefile b/Makefile index 5615551b..b70e59f7 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ BUILD_TIME:=$(shell date +%FT%T%z) BUILD_TAGS?=pmapi_prod BUILD_FLAGS:=-tags='${BUILD_TAGS}' 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}" "" GO_LDFLAGS+= ${BUILD_LDFLAGS} endif diff --git a/test/Makefile b/test/Makefile index ef6eb4a0..82758c9e 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,7 +1,7 @@ .PHONY: check-has-go install-godog test test-live test-debug test-live-debug export GO111MODULE=on -export BRIDGE_VERSION:=dev-integrationtests +export BRIDGE_VERSION:=1.2.7-integrationtests export VERBOSITY?=fatal export TEST_DATA=testdata