Skip to content

Commit

Permalink
Update verify_prowjob script
Browse files Browse the repository at this point in the history
  • Loading branch information
zafs23 committed Nov 15, 2023
1 parent 44bf52c commit e728d8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templater/scripts/verify-prowjobs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -o pipefail

REPO_ROOT=$(git rev-parse --show-toplevel)

DIFF_LINE_COUNT=$(git diff $REPO_ROOT/jobs ':(exclude)*-1-23-*' | wc -l)
DIFF_LINE_COUNT=$(git diff --name-only $REPO_ROOT/jobs ':(exclude)*-1-23-*' | wc -l)
if [ $DIFF_LINE_COUNT -ne 0 ]; then
CHANGED_FILES=$(git diff --name-only $REPO_ROOT/jobs ':(exclude)*-1-23-*')
git diff $REPO_ROOT/jobs ':(exclude)*-1-23-*'
Expand Down

0 comments on commit e728d8b

Please sign in to comment.