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:
Hermes Agent committed 2026-11-30 01:39:40 +00:00
1 parent cd0d81751f
commit ea4c40a885
1 file changed
+1 -1
+1 -1
View File
@@ -59,7 +59,7 @@ if [[ "${TARGET_REPO}" != "--no-pull" ]]; then
remote_name="downstream"
fi
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}"
fi
done