fix: export FORGE_REPO_OWNER from load-project.sh (#241)
This commit is contained in:
parent
2b4c8be245
commit
e4acd032f0
1 changed files with 2 additions and 0 deletions
|
|
@ -100,6 +100,8 @@ export FORGE_URL="${FORGE_URL:-http://localhost:3000}"
|
|||
if [ -n "$FORGE_REPO" ]; then
|
||||
export FORGE_API="${FORGE_URL}/api/v1/repos/${FORGE_REPO}"
|
||||
export FORGE_WEB="${FORGE_URL}/${FORGE_REPO}"
|
||||
# Extract repo owner (first path segment of owner/repo)
|
||||
export FORGE_REPO_OWNER="${FORGE_REPO%%/*}"
|
||||
fi
|
||||
# Backwards-compat aliases
|
||||
export CODEBERG_REPO="${FORGE_REPO}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue