fix(scripts): force-with-lease on mirror push

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-16 11:40:59 +10:00
parent eac1e0b59e
commit 06c6748274
+1 -1
View File
@@ -36,6 +36,6 @@ if (-not (git status --porcelain)) {
git add -A
git commit -m "chore(docs): sync repository URLs for ${Target} mirror"
git push $remote main
git push --force-with-lease $remote main
git reset --hard $before
Write-Output "pushed $remote with ${Target} URLs; local main reset to $before"