"pharext.update", "license" => file_get_contents(__DIR__."/../LICENSE") ], false))->run(); if (getenv("SIGN")) { $pass = (new pharext\Task\Askpass)->run(); $sign = new pharext\Task\PharSign($file, __DIR__."/pharext.update.key", $pass); $pkey = $sign->run(); $pkey->exportPublicKey(__DIR__."/../bin/pharext.update.pubkey"); } /* we do not need the extra logic of Task\PharRename */ rename($file, __DIR__."/../bin/pharext.update");