app resources: add __YNH_DEBIAN_VERSION_ID__ in available variable, corresponing to debian number (11, 12, ...)

This commit is contained in:
Alexandre Aubin 2024-04-11 00:38:23 +02:00
parent 85f83af862
commit a3ab7c9199

View file

@ -152,6 +152,7 @@ class AppResource:
"__APP__": self.app,
"__YNH_ARCH__": system_arch(),
"__YNH_DEBIAN_VERSION__": debian_version(),
"__YNH_DEBIAN_VERSION_ID__": debian_version_id(),
"__YNH_APP_UPSTREAM_VERSION__": (
manager.wanted["version"].split("~")[0]
if manager.wanted