From: Michael Wallner Date: Thu, 3 Sep 2015 07:18:31 +0000 (+0200) Subject: let's updarte the pharext metadata, too X-Git-Tag: v4.1.0~11 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=b1fff040f69249e6060c01c14a50b49ba2ed20f3;p=pharext%2Fpharext let's updarte the pharext metadata, too --- diff --git a/bin/pharext b/bin/pharext index 766c44b..292d252 100755 Binary files a/bin/pharext and b/bin/pharext differ diff --git a/bin/pharext.update b/bin/pharext.update index a568e9d..7e0a531 100755 Binary files a/bin/pharext.update and b/bin/pharext.update differ diff --git a/src/pharext/Updater.php b/src/pharext/Updater.php index bee5ed6..7da989d 100644 --- a/src/pharext/Updater.php +++ b/src/pharext/Updater.php @@ -109,6 +109,11 @@ class Updater implements Command } $phar->stopBuffering(); + + $phar->setMetadata([ + "version" => Metadata::version(), + "header" => Metadata::header(), + ] + $phar->getMetadata()); } private function updatePackage(SplFileInfo $file, Phar $phar = null) {