diff --git a/lib/ci-setup.sh b/lib/ci-setup.sh index 7c4c5dd..49fbe12 100644 --- a/lib/ci-setup.sh +++ b/lib/ci-setup.sh @@ -12,6 +12,7 @@ # FORGE_URL - Forge instance URL (e.g. http://localhost:3000) # FORGE_TOKEN - Forge API token # FACTORY_ROOT - Root of the disinto factory +# PROJECT_NAME - Name of the project # # Usage: # source "${FACTORY_ROOT}/lib/ci-setup.sh" @@ -24,6 +25,7 @@ _load_ci_context() { [ -z "${FORGE_URL:-}" ] && missing+=("FORGE_URL") [ -z "${FORGE_TOKEN:-}" ] && missing+=("FORGE_TOKEN") [ -z "${FACTORY_ROOT:-}" ] && missing+=("FACTORY_ROOT") + [ -z "${PROJECT_NAME:-}" ] && missing+=("PROJECT_NAME") if [ "${#missing[@]}" -gt 0 ]; then echo "Error: ci-setup.sh requires these globals to be set: ${missing[*]}" >&2 exit 1