Skip to content

Commit 21f70a3

Browse files
author
Alexander Preißner
committed
fix: CI: create local diff in relation to origin/dev
* The dev branch may not be available locally, so that `git diff` could fail. * Creating the patch file in relation to origin/dev always works Closes zephyrproject-rtos#22
1 parent 2aa900c commit 21f70a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.gitlab-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@ gitlint:
6262
# warnings.
6363
codestyle:
6464
script:
65-
- git diff dev > branch.patch
65+
- git diff origin/dev > branch.patch
6666
- ./scripts/checkpatch.pl branch.patch

0 commit comments

Comments
 (0)