mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 10:54:52 +00:00
Moving docker $repo_branch var to config.php
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
<?php
|
||||
include("inc_all_settings.php");
|
||||
include("database_version.php");
|
||||
include("config.php")
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
//fetch the latest code changes but don't apply them\
|
||||
$repo_branch = 'master';
|
||||
//fetch the latest code changes but don't apply them
|
||||
exec("git fetch", $output, $result);
|
||||
$latest_version = exec("git rev-parse origin/$repo_branch");
|
||||
$current_version = exec("git rev-parse HEAD");
|
||||
|
||||
Reference in New Issue
Block a user