Skip to content

Commit

Permalink
Merge pull request #705 from elezar/remove-libnvidia-contianer-update…
Browse files Browse the repository at this point in the history
…-check

[no-relnote] Don't check for submodule changes
  • Loading branch information
elezar authored Sep 20, 2024
2 parents 3121663 + 629db79 commit 53c2dc6
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions scripts/build-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,8 @@ else
targets=${all[@]}
fi

if [[ x"${SKIP_UPDATE_COMPONENTS}" != x"yes" ]]; then
echo "Updating components"
"${SCRIPTS_DIR}/update-components.sh"
if [[ -n $(git status -s third_party) && ${ALLOW_LOCAL_COMPONENT_CHANGES} != "true" ]]; then
echo "ERROR: Building with local component changes."
echo "Commit pending changes or rerun with ALLOW_LOCAL_COMPONENT_CHANGES='true'"
exit 1
fi
else
echo "Skipping update of components"
fi
git submodule update --init
git submodule status

eval $(${SCRIPTS_DIR}/get-component-versions.sh)

Expand Down

0 comments on commit 53c2dc6

Please sign in to comment.