Sync project metadata with pyproject.toml
Updated scripts and backend to dynamically retrieve project name and version from `pyproject.toml`. This ensures consistent metadata across the OpenAPI client generation and the FastAPI application.
This commit is contained in:
parent
e44316c5b9
commit
076de3f017
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Extract values from pyproject.toml
|
||||
PYPROJECT_FILE="$(dirname "$0")/pyproject.toml"
|
||||
PYPROJECT_FILE="$(dirname "$0")/heidi-v2/pyproject.toml"
|
||||
|
||||
VERSION=$(grep -Po '(?<=version = ")[^"]*' "$PYPROJECT_FILE")
|
||||
NAME=$(grep -Po '(?<=name = ")[^"]*' "$PYPROJECT_FILE")
|
||||
|
Loading…
x
Reference in New Issue
Block a user