fix(deploy): add --force to git fetch --tags in sync-vps-repos.sh to allow updated release tags (v2.0.0)
This commit is contained in:
1 parent
cd0d81751f
commit
b767f8a4e9
1 file changed
+1
-1
@@ -59,7 +59,7 @@ if [[ "${TARGET_REPO}" != "--no-pull" ]]; then
|
|||||||
remote_name="downstream"
|
remote_name="downstream"
|
||||||
fi
|
fi
|
||||||
echo "[1/4] Updating ${REPOS_ROOT}/${repo} (${remote_name}/${branch})..."
|
echo "[1/4] Updating ${REPOS_ROOT}/${repo} (${remote_name}/${branch})..."
|
||||||
git -C "${REPOS_ROOT}/${repo}" fetch "${remote_name}" "${branch}" --tags
|
git -C "${REPOS_ROOT}/${repo}" fetch --force "${remote_name}" "${branch}" --tags
|
||||||
git -C "${REPOS_ROOT}/${repo}" merge --ff-only "${remote_name}/${branch}"
|
git -C "${REPOS_ROOT}/${repo}" merge --ff-only "${remote_name}/${branch}"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in new issue
Block a user