Do a git pull instead of fetch so as to actually get the changes

This commit is contained in:
Isaac Connor 2021-12-22 11:28:00 -05:00
parent 96a450db3d
commit 185dc4a50d
1 changed files with 2 additions and 2 deletions

View File

@ -119,8 +119,8 @@ if [ ! -d "${GITHUB_FORK}_zoneminder_release" ]; then
if [ -d "${GITHUB_FORK}_ZoneMinder.git" ]; then if [ -d "${GITHUB_FORK}_ZoneMinder.git" ]; then
echo "Using local clone ${GITHUB_FORK}_ZoneMinder.git to pull from." echo "Using local clone ${GITHUB_FORK}_ZoneMinder.git to pull from."
cd "${GITHUB_FORK}_ZoneMinder.git" cd "${GITHUB_FORK}_ZoneMinder.git"
echo "git fetch..." echo "git pull..."
git fetch git pull
cd ../ cd ../
echo "git clone ${GITHUB_FORK}_ZoneMinder.git ${GITHUB_FORK}_zoneminder_release" echo "git clone ${GITHUB_FORK}_ZoneMinder.git ${GITHUB_FORK}_zoneminder_release"