fix: load-project.sh does not re-derive CODEBERG_WEB on TOML-based repo override (#147)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
9ac839a98d
commit
60d7920aa1
1 changed files with 2 additions and 1 deletions
|
|
@ -79,9 +79,10 @@ while IFS='=' read -r _key _val; do
|
|||
export "$_key=$_val"
|
||||
done <<< "$_PROJECT_VARS"
|
||||
|
||||
# Derive CODEBERG_API if repo changed
|
||||
# Derive CODEBERG_API and CODEBERG_WEB if repo changed
|
||||
if [ -n "$CODEBERG_REPO" ]; then
|
||||
export CODEBERG_API="https://codeberg.org/api/v1/repos/${CODEBERG_REPO}"
|
||||
export CODEBERG_WEB="https://codeberg.org/${CODEBERG_REPO}"
|
||||
fi
|
||||
|
||||
# Derive PROJECT_REPO_ROOT if not explicitly set
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue