Skip to content

Commit

Permalink
app resources: add __YNH_DEBIAN_VERSION_ID__ in available variable, c…
Browse files Browse the repository at this point in the history
…orresponing to debian number (11, 12, ...)
  • Loading branch information
alexAubin committed Apr 10, 2024
1 parent 85f83af commit a3ab7c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ def __init__(self, properties: Dict[str, Any], app: str, manager=None):
"__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
Expand Down

0 comments on commit a3ab7c9

Please sign in to comment.