mirror of
https://github.com/friendica/docker
synced 2025-02-12 03:11:40 +01:00
HOTFIC: Fixing ls-remote
This commit is contained in:
parent
ea16109060
commit
59fd1c5792
6 changed files with 6 additions and 6 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" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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