Convert to array

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
2025-11-25 13:52:25 +00:00
parent c23eb54c5d
commit b288154d29

View File

@@ -25,7 +25,7 @@ do
REPOS="${REPOS}\n${REPO_PAGE}" REPOS="${REPOS}\n${REPO_PAGE}"
PAGE=$((PAGE + 1)) PAGE=$((PAGE + 1))
done done
REPOS=($(echo ${REPOS}))
getDefaultBranch() { getDefaultBranch() {
curl -X GET "https://git.cluster.fun/api/v1/repos/AverageMarcus/${1}?access_token=${GITEA_TOKEN}" -H "accept: application/json" --silent | jq -r '.default_branch' curl -X GET "https://git.cluster.fun/api/v1/repos/AverageMarcus/${1}?access_token=${GITEA_TOKEN}" -H "accept: application/json" --silent | jq -r '.default_branch'