mirror of https://github.com/itflow-org/itflow
Add versioning/release system - December 2024 / 24.12
This commit is contained in:
parent
b014ddd6bd
commit
469c495a73
|
|
@ -519,12 +519,16 @@ $mysqli->close();
|
|||
|
||||
<table class="table table-bordered mb-3">
|
||||
<tr>
|
||||
<td>Current App Version</td>
|
||||
<th><?php echo $commitHash; ?></th>
|
||||
<th>ITFlow release version</th>
|
||||
<th><?php echo APP_VERSION; ?></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Current Code Commit</td>
|
||||
<td><?php echo $commitHash; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Current DB Version</td>
|
||||
<th><?php echo CURRENT_DATABASE_VERSION; ?></th>
|
||||
<td><?php echo CURRENT_DATABASE_VERSION; ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,8 @@
|
|||
<?php
|
||||
/*
|
||||
* ITFlow
|
||||
* This file defines the current ITFlow release/version
|
||||
* Update this file each time we merge develop into master. Format is YY.M (add a .v if there is more than one release a month.
|
||||
*/
|
||||
|
||||
DEFINE("APP_VERSION", "24.12");
|
||||
|
|
@ -4,7 +4,7 @@ require_once "inc_confirm_modal.php";
|
|||
|
||||
<?php
|
||||
if (str_contains(basename($_SERVER["PHP_SELF"]), "admin_")) { ?>
|
||||
<p class="text-right font-weight-light">ITFlow /versioning coming soon/ · <a target="_blank" href="https://docs.itflow.org">Docs</a> · <a target="_blank" href="https://forum.itflow.org">Forum</a> · <a target="_blank" href="https://services.itflow.org">Services</a></p>
|
||||
<p class="text-right font-weight-light">ITFlow <?php echo APP_VERSION ?> · <a target="_blank" href="https://docs.itflow.org">Docs</a> · <a target="_blank" href="https://forum.itflow.org">Forum</a> · <a target="_blank" href="https://services.itflow.org">Services</a></p>
|
||||
<br>
|
||||
<?php } ?>
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ require_once "check_login.php";
|
|||
validateAdminRole();
|
||||
|
||||
// TODO: Change this to enforceAdminPermission();
|
||||
// We can't do this until everyone has the new database fields added in 1.4.9 on Sept 14th 2024
|
||||
// We can't do this until everyone has the new database fields added in db 1.4.9 on Sept 14th 2024
|
||||
|
||||
require_once "header.php";
|
||||
|
||||
|
|
@ -22,3 +22,5 @@ require_once "inc_wrapper.php";
|
|||
require_once "inc_alert_feedback.php";
|
||||
|
||||
require_once "filter_header.php";
|
||||
|
||||
require_once "app_version.php";
|
||||
|
|
|
|||
Loading…
Reference in New Issue