Skip to content

Commit

Permalink
lint: use asymmetric difference to find new commits
Browse files Browse the repository at this point in the history
  • Loading branch information
pro-wh committed Feb 22, 2020
1 parent 4324b1a commit 2b0fe21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 --commits $(OASIS_CORE_GIT_ORIGIN_REMOTE)/$(RELEASE_BRANCH)..HEAD

lint-md:
@npx markdownlint-cli '**/*.md' --ignore .changelog/
Expand Down

0 comments on commit 2b0fe21

Please sign in to comment.