Compare commits

...

2 Commits

Author SHA1 Message Date
Pavel Shevaev bbeb16fba8 Downgrading to PHP7 compatibility
Publish PHP Package / docker (push) Successful in 6s Details
2024-08-13 11:15:21 +03:00
Pavel Shevaev 9cbde9a855 Downgrading to PHP7 compatibility
Publish PHP Package / docker (push) Successful in 6s Details
2024-08-13 11:12:53 +03:00
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; return $commit_hash;
} }
function get_git_last_remote_tag(string $repo) : string|bool function get_git_last_remote_tag(string $repo) : mixed
{ {
$remote_tags = []; $remote_tags = [];
git_do($repo, 'ls-remote --tags origin', $output, false); git_do($repo, 'ls-remote --tags origin', $output, false);
@ -62,7 +62,7 @@ function get_git_last_remote_tag(string $repo) : string|bool
return _get_last_version_tag($remote_tags); return _get_last_version_tag($remote_tags);
} }
function _get_last_version_tag(array $tags) : string|bool function _get_last_version_tag(array $tags) : mixed
{ {
if(!$tags) if(!$tags)
return false; return false;