diff --git a/src/build.sh b/src/build.sh index c48276df1b7388b01c31d7a1f572978817557589..301d3f6b9cfa27ee6bd1472831e2a752314b4fdf 100755 --- a/src/build.sh +++ b/src/build.sh @@ -168,7 +168,7 @@ if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then TAG_PREFIX="" # Fetch all tags and check for an exact match - TAG_MATCH=$(curl -s --fail https://gitlab.e.foundation/api/v4/projects/659/repository/tags | jq -r ".[].name" | grep -Fx "$BRANCH_NAME") + TAG_MATCH=$(curl -s --fail https://gitlab.e.foundation/api/v4/projects/659/repository/tags?per_page=100 | jq -r ".[].name" | grep -Fx "$BRANCH_NAME") if [ -n "$TAG_MATCH" ]; then echo ">> [$(date)] Branch name $BRANCH_NAME is a tag on e/os/releases, prefixing with refs/tags/ for 'repo init'"