mirror of
https://github.com/cmderdev/cmder.git
synced 2025-02-11 16:00:21 +08:00
wipe the build dir clean before packing so leftovers don't end up in the release zips
This commit is contained in:
parent
7ebfffc9da
commit
1e61b858c3
@ -19,7 +19,7 @@
|
|||||||
Samuel Vasko, Jack Bennett, Martin Kemp
|
Samuel Vasko, Jack Bennett, Martin Kemp
|
||||||
Part of the Cmder project.
|
Part of the Cmder project.
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/bliker/cmder - Project Home
|
https://github.com/cmderdev/cmder - Project Home
|
||||||
#>
|
#>
|
||||||
|
|
||||||
[CmdletBinding(SupportsShouldProcess=$true)]
|
[CmdletBinding(SupportsShouldProcess=$true)]
|
||||||
@ -46,6 +46,7 @@ $targets = @{
|
|||||||
}
|
}
|
||||||
|
|
||||||
Delete-Existing "..\Version*"
|
Delete-Existing "..\Version*"
|
||||||
|
Delete-Existing "..\build\*"
|
||||||
|
|
||||||
$version = Invoke-Expression "git describe --abbrev=0 --tags"
|
$version = Invoke-Expression "git describe --abbrev=0 --tags"
|
||||||
(New-Item -ItemType file "$cmderRoot\Version $version") | Out-Null
|
(New-Item -ItemType file "$cmderRoot\Version $version") | Out-Null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user