Skip to content

chore: generate sap-ui-version.json during build#8

Open
IlianaB wants to merge 2 commits intoSAP-samples:mainfrom
IlianaB:chore/generate-version-info
Open

chore: generate sap-ui-version.json during build#8
IlianaB wants to merge 2 commits intoSAP-samples:mainfrom
IlianaB:chore/generate-version-info

Conversation

@IlianaB
Copy link
Copy Markdown

@IlianaB IlianaB commented Apr 28, 2026

The self-contained UI5 build does not include sap-ui-version.json,
which the UI5 runtime expects at /resources/sap-ui-version.json.
Without it, the deployed app fails to resolve library metadata.

Add a post-build script that scans dist/resources/ for library
manifest.json files and assembles sap-ui-version.json dynamically,
picking up the framework version from ui5.yaml and dependency hints
from the actual build output.

@cla-assistant
Copy link
Copy Markdown

cla-assistant Bot commented Apr 28, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant