git-filter-repo: Fix decompress error (#6536)

Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
This commit is contained in:
Leo Liu 2025-02-14 02:03:53 -08:00 committed by GitHub
parent 64f51f58b6
commit 6e346e753f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,12 +7,17 @@
"Git": "git", "Git": "git",
"Python 3": "python" "Python 3": "python"
}, },
"url": "https://github.com/newren/git-filter-repo/archive/v2.47.0.zip#/dl.7z", "url": "https://github.com/newren/git-filter-repo/archive/v2.47.0.zip#/dl.zip_",
"hash": "8f3d099bf91ceac6cae60d79aac701e9bc08fd0eed67c601cc5dd401d5788871", "hash": "8f3d099bf91ceac6cae60d79aac701e9bc08fd0eed67c601cc5dd401d5788871",
"pre_install": "Move-Item \"$dir\\git-filter-repo-*\\*\" \"$dir\"; Remove-Item \"$dir\\git-filter-repo-*\"", "installer": {
"script": [
"Expand-ZipArchive -Path \"$dir\\dl.zip_\" -DestinationPath \"$dir\" -Removal",
"Move-Item \"$dir\\git-filter-repo-*\\*\" \"$dir\"; Remove-Item \"$dir\\git-filter-repo-*\""
]
},
"bin": "git-filter-repo", "bin": "git-filter-repo",
"checkver": "github", "checkver": "github",
"autoupdate": { "autoupdate": {
"url": "https://github.com/newren/git-filter-repo/archive/v$version.zip#/dl.7z" "url": "https://github.com/newren/git-filter-repo/archive/v$version.zip#/dl.zip_"
} }
} }