diff --git a/scripts/pack.ps1 b/scripts/pack.ps1 index 178d3a8..45a462e 100644 --- a/scripts/pack.ps1 +++ b/scripts/pack.ps1 @@ -46,7 +46,6 @@ $targets = @{ } Delete-Existing "..\Version*" -Cleanup-Git $version = Invoke-Expression "git describe --abbrev=0 --tags" (New-Item -ItemType file "$cmderRoot\Version $version") | Out-Null diff --git a/scripts/utils.ps1 b/scripts/utils.ps1 index 68e1286..3154db1 100644 --- a/scripts/utils.ps1 +++ b/scripts/utils.ps1 @@ -61,11 +61,6 @@ function Digest-MD5 ($path) { return Invoke-Expression "md5sum $path" } -function Cleanup-Git () { - $gitdir = '../vendor/msysgit/libexec/git-core/' - Get-Childitem $gitdir -Exclude git.exe | Where-Object{!($_.PSIsContainer)} | Foreach-Object { Remove-Item $_.FullName } -} - function Register-Cmder(){ [CmdletBinding()] Param