Skip to content

Commit 34a5324

Browse files
committed
Make sure we fetch main before comparing
1 parent bfb97cf commit 34a5324

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.buildkite/scripts/validate-transport-version-backport.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ if [[ -z "${changed_files}" ]]; then
1313
fi
1414

1515
# Compare those files against the main branch to ensure they are the same
16+
git fetch origin main --quiet
1617
while IFS= read -r file; do
1718
if ! git diff --quiet origin/main -- "${file}"; then
1819
echo "Changes to transport definition [${file}] missing from main branch."

0 commit comments

Comments
 (0)