xref: /plugin/deletepageguard/build/show-status.php (revision 9a383d51b90310842e2a3f0f9d693178d0875b32)
1<?php
2/**
3 * Status Script - Show current version and git status
4 *
5 * @license GPL 2 (https://www.gnu.org/licenses/gpl-2.0.html)
6 * @author  Johann Duscher <jonny.dee@posteo.net>
7 */
8
9// Change to project root directory
10chdir(__DIR__ . '/..');
11
12// Load version information
13$version_info = include 'version.php';
14
15echo "Current version information:\n";
16echo "Version: " . $version_info['version'] . "\n";
17echo "Date: " . $version_info['date'] . "\n";
18echo "\n";
19?>