make calculating GIT_REMOTE in Makefile more explicit (#1092)
This commit is contained in:
parent
985c0a1659
commit
f33c803614
2
Makefile
2
Makefile
|
@ -30,7 +30,7 @@ GOBIN=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))build/bin
|
|||
GIT_COMMIT := $(shell git rev-parse --short HEAD)
|
||||
GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
|
||||
GIT_LOCAL := $(shell git rev-parse @)
|
||||
GIT_REMOTE := $(shell git fetch -q && git rev-parse origin)
|
||||
GIT_REMOTE := $(shell git fetch -q && git rev-parse remotes/origin/develop)
|
||||
|
||||
BUILD_FLAGS ?= $(shell echo "-ldflags '-X main.buildStamp=`date -u '+%Y-%m-%d.%H:%M:%S'` -X github.com/status-im/status-go/params.VersionMeta=$(GIT_COMMIT)'")
|
||||
|
||||
|
|
Loading…
Reference in New Issue