SENTRY-602: Pre commit build script should update the snapshot dependencies (Reviewed by:Prasad Mujumdar)