Skip to content

Commit

Permalink
Added build date to version file
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed Feb 23, 2024
1 parent ecd7f50 commit 298c9a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
<target name="version">
<exec executable="php" checkreturn="true">
<arg value="-r" />
<arg value="file_put_contents('contao-manager.version', json_encode(['version' => '${version}', 'sha1' => sha1_file('contao-manager.phar'), 'requires' => ['php' => '^7.2.5 || ^8.0']]));" />
<arg value="file_put_contents('contao-manager.version', json_encode(['version' => '${version}', 'build-date' => date('c'), 'sha1' => sha1_file('contao-manager.phar'), 'requires' => ['php' => '^7.2.5 || ^8.0']]));" />
</exec>
</target>
</project>

0 comments on commit 298c9a8

Please sign in to comment.