diff --git a/scripts/pack.ps1 b/scripts/pack.ps1 index 28aba49..1b76a67 100644 --- a/scripts/pack.ps1 +++ b/scripts/pack.ps1 @@ -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) } \ No newline at end of file