Skip to content

Commit bc26369

Browse files
committed
Add file sha256 of the phar
1 parent 96c2812 commit bc26369

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/phar-generator-script.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ static function (string $fileRelativePath) {
306306
'excludedFolders' => PharFilterIterator::getExcludedFolders(),
307307
'phar' => [
308308
'sha256' => $phar->getSignature()['hash'],
309+
'fileSha256' => hash_file('sha256', $buildRoot . '/doctum.phar'),
309310
'numberOfFiles' => $phar->count(),
310311
],
311312
];

0 commit comments

Comments
 (0)