mirror of
https://github.com/friendica/docker
synced 2025-01-31 08:02:15 +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() {
|
check_branch() {
|
||||||
repo=${1:-}
|
repo=${1:-}
|
||||||
branch=${2:-}
|
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" ]
|
[ "$?" -eq "0" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue