Merge pull request 'fix: load-project.sh does not re-derive CODEBERG_WEB on TOML-based repo override (#147)' (#451) from fix/issue-147 into main
This commit is contained in:
commit
36326a46b1
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