diff --git a/Makefile b/Makefile index 6b60ed0cd9a..1f13f44f15f 100644 --- a/Makefile +++ b/Makefile @@ -69,7 +69,7 @@ lint-go: lint-git: fetch-git @COMMIT_SHA=`git rev-parse $(OASIS_CORE_GIT_ORIGIN_REMOTE)/$(RELEASE_BRANCH)` && \ echo "Running gitlint for commits from $(OASIS_CORE_GIT_ORIGIN_REMOTE)/$(RELEASE_BRANCH) ($${COMMIT_SHA:0:7})..."; \ - gitlint --commits $(OASIS_CORE_GIT_ORIGIN_REMOTE)/$(RELEASE_BRANCH)...HEAD + gitlint --debug --commits $(OASIS_CORE_GIT_ORIGIN_REMOTE)/$(RELEASE_BRANCH)...HEAD lint-md: @npx markdownlint-cli '**/*.md' --ignore .changelog/ @@ -134,8 +134,12 @@ clean: $(clean-targets) # Fetch all the latest changes (including tags) from the canonical upstream git # repository. fetch-git: + git branch -a @$(ECHO_STDERR) "Fetching the latest changes (including tags) from $(OASIS_CORE_GIT_ORIGIN_REMOTE) remote..." @git fetch $(OASIS_CORE_GIT_ORIGIN_REMOTE) --tags + git branch -a + git fetch $(OASIS_CORE_GIT_ORIGIN_REMOTE) $(RELEASE_BRANCH) + git branch -a # Assemble Change log. changelog: fetch-git