mirror of
https://github.com/cmderdev/cmder.git
synced 2025-11-08 05:09:02 +08:00
new version handle logic
This commit is contained in:
@@ -48,7 +48,7 @@ $targets = @{
|
||||
Delete-Existing "..\Version*"
|
||||
Delete-Existing "..\build\*"
|
||||
|
||||
$version = Invoke-Expression "git describe --abbrev=0 --tags"
|
||||
$version = Get-VersionStr
|
||||
(New-Item -ItemType file "$cmderRoot\Version $version") | Out-Null
|
||||
|
||||
foreach ($t in $targets.GetEnumerator()) {
|
||||
|
||||
Reference in New Issue
Block a user