From bb68323d1139b081ed13aed0b4dde64165157298 Mon Sep 17 00:00:00 2001 From: Domenic Rosati Date: Mon, 4 Jun 2018 16:22:44 -0300 Subject: [PATCH] fix travis vcs label --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index ce26da6..4c661c7 100644 --- a/Makefile +++ b/Makefile @@ -98,6 +98,8 @@ RELEASE_NAME?=$(patsubst docker-%,%,$@) ifdef TRAVIS_PULL_REQUEST_BRANCH RELEASE_VERSION=$(TRAVIS_PULL_REQUEST_SHA) RELEASE_NAME="$(patsubst docker-%,%,$@)-$(shell echo $(TRAVIS_PULL_REQUEST_BRANCH) | sed "s/[^[:alnum:].-]/-/g")" + # Override VCS_BRANCH on travis because it uses the FETCH_HEAD + VCS_BRANCH=$(TRAVIS_PULL_REQUEST_BRANCH) endif $(CMDs:%=build/docker/%/Dockerfile):