incalculable-hydrogen-44003
08/23/2022, 4:35 PMclean-city-64472
08/23/2022, 6:22 PM(./pants --changed-since=${CHANGEDSINCE} filedeps | sort) > filechanges
(./pants filedeps --transitive src/${APP}:${APP} | sort) > filedeps
FILE_CHANGE_COUNT=$(comm -12 filechanges filedeps | wc -l)
if [ ${FILE_CHANGE_COUNT} -gt 0 ]
then
echo "Changes detected for ${APP} kicking off the build"
./build/scripts/build_publish_deploy.sh ${APP}
else
echo "No changes for ${APP}"
fi
incalculable-hydrogen-44003
08/23/2022, 6:35 PMcurved-farmer-66180
07/14/2023, 11:27 PM