mirror of
https://github.com/friendica/docker
synced 2025-01-31 03:51:06 +01:00
HOTFIC: Fixing ls-remote
This commit is contained in:
parent
45253da835
commit
ea16109060
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ version_greater() {
|
|||
check_branch() {
|
||||
repo=${1:-}
|
||||
branch=${2:-}
|
||||
git ls-remote --heads --tags "$repo" | grep -E "refs/(heads|tags)/${branch}$" >/dev/null
|
||||
git ls-remote --heads --tags "https://github.com/$repo" | grep -E "refs/(heads|tags)/${branch}$" >/dev/null
|
||||
[ "$?" -eq "0" ]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue