mirror of https://github.com/itflow-org/itflow
Merge pull request #1134 from itflow-org/add-release-system
Add release system - with admin update
This commit is contained in:
commit
955f7c3f3b
|
|
@ -3,7 +3,6 @@ require_once "inc_all_admin.php";
|
||||||
|
|
||||||
require_once "database_version.php";
|
require_once "database_version.php";
|
||||||
|
|
||||||
|
|
||||||
$updates = fetchUpdates();
|
$updates = fetchUpdates();
|
||||||
|
|
||||||
$latest_version = $updates->latest_version;
|
$latest_version = $updates->latest_version;
|
||||||
|
|
@ -43,8 +42,6 @@ $git_log = shell_exec("git log $repo_branch..origin/$repo_branch --pretty=format
|
||||||
<br>
|
<br>
|
||||||
<small class="text-secondary">Latest DB Version: <?php echo LATEST_DATABASE_VERSION; ?></small>
|
<small class="text-secondary">Latest DB Version: <?php echo LATEST_DATABASE_VERSION; ?></small>
|
||||||
<br>
|
<br>
|
||||||
<small class="text-secondary">Branch: <?php echo $repo_branch; ?></small>
|
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<?php } else {
|
<?php } else {
|
||||||
|
|
@ -54,9 +51,9 @@ $git_log = shell_exec("git log $repo_branch..origin/$repo_branch --pretty=format
|
||||||
<a class="btn btn-danger btn-lg" href="post.php?update&force_update=1"><i class="fas fa-fw fa-4x fa-hammer mb-1"></i><h5>FORCE Update App</h5></a>
|
<a class="btn btn-danger btn-lg" href="post.php?update&force_update=1"><i class="fas fa-fw fa-4x fa-hammer mb-1"></i><h5>FORCE Update App</h5></a>
|
||||||
|
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
<p class="text-secondary">Current Database Version:<br><strong class="text-dark"><?php echo CURRENT_DATABASE_VERSION; ?></strong></p>
|
<p><strong>Application Release Version:<br><strong class="text-dark"><?php echo APP_VERSION; ?></strong></p>
|
||||||
<p class="text-secondary">Current App Version:<br><strong class="text-dark"><?php echo $current_version; ?></strong></p>
|
<p class="text-secondary">Database Version:<br><strong class="text-dark"><?php echo CURRENT_DATABASE_VERSION; ?></strong></p>
|
||||||
<p class="text-secondary">Branch:<br><strong class="text-dark"><?php echo $repo_branch; ?></strong></p>
|
<p class="text-secondary">Code Commit:<br><strong class="text-dark"><?php echo $current_version; ?></strong></p>
|
||||||
<p class="text-muted">You are up to date!<br>Everything is going to be alright</p>
|
<p class="text-muted">You are up to date!<br>Everything is going to be alright</p>
|
||||||
<i class="far fa-3x text-dark fa-smile-wink"></i><br>
|
<i class="far fa-3x text-dark fa-smile-wink"></i><br>
|
||||||
<?php }
|
<?php }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue