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