fix: use public URL (mysources.co.uk) for package install instructions
All checks were successful
CI/CD / typecheck (push) Successful in 48s
CI/CD / test (push) Successful in 59s
CI/CD / lint (push) Successful in 2m8s
CI/CD / build (push) Successful in 3m49s
CI/CD / publish-rpm (push) Successful in 38s
CI/CD / publish-deb (push) Successful in 23s
CI/CD / smoke (push) Successful in 8m23s
All checks were successful
CI/CD / typecheck (push) Successful in 48s
CI/CD / test (push) Successful in 59s
CI/CD / lint (push) Successful in 2m8s
CI/CD / build (push) Successful in 3m49s
CI/CD / publish-rpm (push) Successful in 38s
CI/CD / publish-deb (push) Successful in 23s
CI/CD / smoke (push) Successful in 8m23s
Internal API calls still use 10.0.0.194:3012, but all user-facing install instructions now use the public GITEA_PUBLIC_URL. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -55,10 +55,11 @@ for p in json.load(sys.stdin):
|
||||
fi
|
||||
|
||||
# API not available (Gitea < 1.24) — warn with manual instructions
|
||||
local PUBLIC_URL="${GITEA_PUBLIC_URL:-${GITEA_URL}}"
|
||||
echo ""
|
||||
echo "WARNING: Could not auto-link ${PKG_TYPE}/${PKG_NAME} to repository (Gitea < 1.24)."
|
||||
echo "Link it manually in the Gitea UI:"
|
||||
echo " ${GITEA_URL}/${GITEA_OWNER}/-/packages/${PKG_TYPE}/${PKG_NAME}/settings"
|
||||
echo " ${PUBLIC_URL}/${GITEA_OWNER}/-/packages/${PKG_TYPE}/${PKG_NAME}/settings"
|
||||
echo " -> Link to repository: ${GITEA_OWNER}/${GITEA_REPO}"
|
||||
return 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user