Set travis branch on merge to develop
@@ -9,9 +9,9 @@ BIN_DIR_WIN = $(CUR_DIR_WIN)/build
export GO111MODULE = on
ifndef TRAVIS_PULL_REQUEST_BRANCH
- BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
-else
BRANCH := $(TRAVIS_BRANCH)
+else
+ BRANCH := $(TRAVIS_PULL_REQUEST_BRANCH)
endif
# Setup the -ldflags option to pass vars defined here to app vars
