2
0
Fork 0
mirror of https://github.com/friendica/docker synced 2025-02-07 08:11:47 +01:00

HOTFIC: Fixing ls-remote

This commit is contained in:
Philipp Holzer 2019-10-02 00:37:28 +02:00
parent ea16109060
commit 59fd1c5792
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
6 changed files with 6 additions and 6 deletions

View file

@ -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" ]
}

View file

@ -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" ]
}

View file

@ -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" ]
}

View file

@ -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" ]
}

View file

@ -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" ]
}

View file

@ -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" ]
}