$branch, 'date' => $date, 'commitHashShort' => $commitHashShort, 'commitHashLong' => $commitHash, 'commitDate' => $commitDate, ]; $json = json_encode($array, JSON_PRETTY_PRINT); runLocally("echo '$json' > release.json"); upload('release.json', '{{release_path}}/release.json'); });