From 59fd1c579211cc9c30587b75c46f264c9020d9be Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Wed, 2 Oct 2019 00:37:28 +0200 Subject: [PATCH] HOTFIC: Fixing ls-remote --- 2019.09/apache/entrypoint.sh | 2 +- 2019.09/fpm-alpine/entrypoint.sh | 2 +- 2019.09/fpm/entrypoint.sh | 2 +- 2019.12-dev/apache/entrypoint.sh | 2 +- 2019.12-dev/fpm-alpine/entrypoint.sh | 2 +- 2019.12-dev/fpm/entrypoint.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/2019.09/apache/entrypoint.sh b/2019.09/apache/entrypoint.sh index f51b20a..4ddcbaa 100755 --- a/2019.09/apache/entrypoint.sh +++ b/2019.09/apache/entrypoint.sh @@ -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" ] } diff --git a/2019.09/fpm-alpine/entrypoint.sh b/2019.09/fpm-alpine/entrypoint.sh index f51b20a..4ddcbaa 100755 --- a/2019.09/fpm-alpine/entrypoint.sh +++ b/2019.09/fpm-alpine/entrypoint.sh @@ -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" ] } diff --git a/2019.09/fpm/entrypoint.sh b/2019.09/fpm/entrypoint.sh index f51b20a..4ddcbaa 100755 --- a/2019.09/fpm/entrypoint.sh +++ b/2019.09/fpm/entrypoint.sh @@ -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" ] } diff --git a/2019.12-dev/apache/entrypoint.sh b/2019.12-dev/apache/entrypoint.sh index f51b20a..4ddcbaa 100755 --- a/2019.12-dev/apache/entrypoint.sh +++ b/2019.12-dev/apache/entrypoint.sh @@ -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" ] } diff --git a/2019.12-dev/fpm-alpine/entrypoint.sh b/2019.12-dev/fpm-alpine/entrypoint.sh index f51b20a..4ddcbaa 100755 --- a/2019.12-dev/fpm-alpine/entrypoint.sh +++ b/2019.12-dev/fpm-alpine/entrypoint.sh @@ -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" ] } diff --git a/2019.12-dev/fpm/entrypoint.sh b/2019.12-dev/fpm/entrypoint.sh index f51b20a..4ddcbaa 100755 --- a/2019.12-dev/fpm/entrypoint.sh +++ b/2019.12-dev/fpm/entrypoint.sh @@ -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" ] }