diff --git a/build-automation.mjs b/build-automation.mjs index d29432638..b2dac90ad 100644 --- a/build-automation.mjs +++ b/build-automation.mjs @@ -97,7 +97,7 @@ export default async function(github) { process.exit(0); } } - const { stdout } = (await exec(`git diff`)); + const { stdout } = (await exec(`git diff -G NODE_VERSION`)); console.log(stdout); return updatedVersions.join(', '); diff --git a/functions.sh b/functions.sh index df1883f73..1c1ce0a3e 100755 --- a/functions.sh +++ b/functions.sh @@ -340,7 +340,7 @@ function images_updated() { IFS=',' get_versions )" - images_changed=$(git diff --name-only "${commit_range}" "${versions[@]}") + images_changed=$(git diff --name-only "${commit_range}" "${versions[@]}" -G NODE_VERSION) if [ -z "${images_changed}" ]; then return 1