diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-04-15 19:17:17 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-04-15 19:17:17 +0200 |
commit | 5112a33fb17f792ceb6d641738277cbbe6a58bfc (patch) | |
tree | 85238fcfda47954fb61e59e506b3e4db74a37148 | |
parent | bb6e6923f25841874b6a915d234d884ddd4c92dd (diff) |
Fix release script
-rwxr-xr-x | maintainers/upload-release.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/maintainers/upload-release.pl b/maintainers/upload-release.pl index 8432c9596..1cdf5ed16 100755 --- a/maintainers/upload-release.pl +++ b/maintainers/upload-release.pl @@ -67,10 +67,10 @@ sub downloadFile { } my $sha256_expected = $buildInfo->{buildproducts}->{$productNr}->{sha256hash} or die; - my $sha256_actual = `nix hash-file --type sha256 '$dstFile'`; + my $sha256_actual = `nix hash-file --base16 --type sha256 '$dstFile'`; chomp $sha256_actual; if ($sha256_expected ne $sha256_actual) { - print STDERR "file $dstFile is corrupt\n"; + print STDERR "file $dstFile is corrupt, got $sha256_actual, expected $sha256_expected\n"; exit 1; } |