Skip to content

Commit

Permalink
Fix gitVersion sending the branch on source installs when full is not…
Browse files Browse the repository at this point in the history
… true
  • Loading branch information
austinwbest committed Sep 29, 2024
1 parent e3dc9d0 commit 5741f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/app/www/public/functions/git.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function gitMessage()
function gitVersion($full = false)
{
if (!defined('DOCKWATCH_COMMITS') && !defined('DOCKWATCH_BRANCH')) {
return ($full ? 'v' : '') . '0.0.0 - ' . gitBranch();
return ($full ? 'v' : '') . '0.0.0' . ($full ? ' - ' . gitBranch() : '');
}

if ($full) {
Expand Down

0 comments on commit 5741f4d

Please sign in to comment.