aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-01-08 18:46:05 +0100
committerGitHub <noreply@github.com>2020-01-08 18:46:05 +0100
commitc99b413abbc74f6f7e126d8bca58f44a3fcd9c2d (patch)
treec07ed6a9ba8b4c0cd5d96dac8567c95a54d65b91
parentc6ad42a176c943aa96a8c053682196cd38fd6a1a (diff)
parentb061bb276d95605ffd736100af275a98e7a4d351 (diff)
downloadpodman-c99b413abbc74f6f7e126d8bca58f44a3fcd9c2d.tar.gz
podman-c99b413abbc74f6f7e126d8bca58f44a3fcd9c2d.tar.bz2
podman-c99b413abbc74f6f7e126d8bca58f44a3fcd9c2d.zip
Merge pull request #4758 from rhatdan/validate
Don't show PASS on success for gitvalidate
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 686a0f957..e082b6e5d 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ export GOPROXY=https://proxy.golang.org
GO ?= go
DESTDIR ?=
-EPOCH_TEST_COMMIT ?= 2d8f1c8fda4d0a8b7c41addbc89f0b2f83908ec2
+EPOCH_TEST_COMMIT ?= $(shell git merge-base HEAD $${DEST_BRANCH:-master})
HEAD ?= HEAD
CHANGELOG_BASE ?= HEAD~
CHANGELOG_TARGET ?= HEAD
@@ -471,7 +471,7 @@ uninstall:
.PHONY: .gitvalidation
.gitvalidation: .gopathok
- GIT_CHECK_EXCLUDE="./vendor:docs/make.bat" $(GOBIN)/git-validation -v -run DCO,short-subject,dangling-whitespace -range $(EPOCH_TEST_COMMIT)..$(HEAD)
+ GIT_CHECK_EXCLUDE="./vendor:docs/make.bat" $(GOBIN)/git-validation -run DCO,short-subject,dangling-whitespace -range $(EPOCH_TEST_COMMIT)..$(HEAD)
.PHONY: install.tools
install.tools: .install.gitvalidation .install.gometalinter .install.md2man .install.ginkgo .install.golangci-lint ## Install needed tools