diff --git a/build-community.sh b/build-community.sh index ad88f988335efdb154084cf0df1b7d384b555b55..648cd8bfe0ade2c22ce550ed3c29fb6307168ca5 100755 --- a/build-community.sh +++ b/build-community.sh @@ -139,7 +139,7 @@ for branch in ${BRANCH_NAME//,/ }; do yes | repo init -u "$REPO" --reference "$MIRROR_DIR" -b "$branch" &>> "$repo_log" else TAG_PREFIX="" - curl https://gitlab.e.foundation/api/v4/projects/659/repository/tags | grep "\"name\":\"$branch\"" + curl "https://gitlab.e.foundation/api/v4/projects/659/repository/tags?per_page=1000" | grep "\"name\":\"$branch\"" if [ $? == 0 ] then echo "Branch name $branch is a tag on e/os/releases, prefix with refs/tags/ for 'repo init'"