Compare commits

..

No commits in common. "master" and "v1.1.0" have entirely different histories.

1 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ function git_rev_from_commit_message(string $message) : string
return $commit_hash;
}
function get_git_last_remote_tag(string $repo) : mixed
function get_git_last_remote_tag(string $repo) : string|bool
{
$remote_tags = [];
git_do($repo, 'ls-remote --tags origin', $output, false);
@ -62,7 +62,7 @@ function get_git_last_remote_tag(string $repo) : mixed
return _get_last_version_tag($remote_tags);
}
function _get_last_version_tag(array $tags) : mixed
function _get_last_version_tag(array $tags) : string|bool
{
if(!$tags)
return false;