From e63368fe9617ed1aa9a60b1495af0d812d15d01e Mon Sep 17 00:00:00 2001 From: Benjamin Staneck Date: Fri, 7 Apr 2017 07:45:28 +0200 Subject: [PATCH] add file name next to hash values --- scripts/pack.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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