mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 09:49:12 +08:00
add file name next to hash values
This commit is contained in:
parent
aa2eaa6886
commit
e63368fe96
@ -54,5 +54,5 @@ $version = Invoke-Expression "git describe --abbrev=0 --tags"
|
||||
foreach ($t in $targets.GetEnumerator()) {
|
||||
Create-Archive $cmderRoot "$saveTo\$($t.Name)" $t.Value
|
||||
$hash = (Digest-Hash "$saveTo\$($t.Name)")
|
||||
Add-Content "$saveTo\hashes.txt" $hash
|
||||
Add-Content -path "$saveTo\hashes.txt" -value ($t.Name + ' ' + $hash)
|
||||
}
|
Loading…
Reference in New Issue
Block a user