apps: fix YNH_HELPERS_VERSION again because packaging_format is actually a float hence 1.0/2.0 instead of 1 or 2 x_x

This commit is contained in:
Alexandre Aubin 2024-06-03 13:38:43 +02:00
parent fb32842c89
commit b67d4621fc

View file

@ -2971,7 +2971,7 @@ def _make_environment_for_app_script(
"YNH_HELPERS_VERSION": str( "YNH_HELPERS_VERSION": str(
manifest.get("integration", {}).get("helpers_version") manifest.get("integration", {}).get("helpers_version")
or manifest["packaging_format"] or manifest["packaging_format"]
), ).replace(".0", ""),
"YNH_ARCH": system_arch(), "YNH_ARCH": system_arch(),
"YNH_DEBIAN_VERSION": debian_version(), "YNH_DEBIAN_VERSION": debian_version(),
} }