diff --git a/hack/sync-ec-cli-tasks.sh b/hack/sync-ec-cli-tasks.sh index 28c777e..d967963 100755 --- a/hack/sync-ec-cli-tasks.sh +++ b/hack/sync-ec-cli-tasks.sh @@ -27,6 +27,7 @@ set -o nounset EC_CLI_REPO_PATH="${1}" collect_remote_branches() { + git fetch origin > /dev/null echo "$(git branch --remote --format '%(refname:lstrip=-1)' --sort=refname --list 'origin/release-v*')" }