git-filter-repo: Fix bug for Windows PowerShell (#6592)

This commit is contained in:
Hsiao-nan Cheung 2025-03-02 17:11:28 +08:00 committed by GitHub
parent f403654f1f
commit 222c97f414
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,7 +11,8 @@
"hash": "8f3d099bf91ceac6cae60d79aac701e9bc08fd0eed67c601cc5dd401d5788871", "hash": "8f3d099bf91ceac6cae60d79aac701e9bc08fd0eed67c601cc5dd401d5788871",
"installer": { "installer": {
"script": [ "script": [
"Expand-ZipArchive -Path \"$dir\\dl.zip_\" -DestinationPath \"$dir\" -Removal", "Rename-Item -Path \"$dir\\dl.zip_\" -NewName dl.zip",
"Expand-ZipArchive -Path \"$dir\\dl.zip\" -DestinationPath \"$dir\" -Removal",
"Move-Item \"$dir\\git-filter-repo-*\\*\" \"$dir\"; Remove-Item \"$dir\\git-filter-repo-*\"" "Move-Item \"$dir\\git-filter-repo-*\\*\" \"$dir\"; Remove-Item \"$dir\\git-filter-repo-*\""
] ]
}, },