From 0304a6dbe02e4a76e27ac8edbca4ac8a8dbff4dc Mon Sep 17 00:00:00 2001 From: Daniel Braun Date: Fri, 14 Apr 2023 11:34:09 +0000 Subject: [PATCH] feat: added prefer static filter to gh-release --- nanolayer/installers/gh_release/gh_release_installer.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nanolayer/installers/gh_release/gh_release_installer.py b/nanolayer/installers/gh_release/gh_release_installer.py index 99b9fe70..b6b29170 100644 --- a/nanolayer/installers/gh_release/gh_release_installer.py +++ b/nanolayer/installers/gh_release/gh_release_installer.py @@ -452,6 +452,11 @@ def resolve_asset( regex=RELEASE_ID_REGEX_MAP[LinuxInformationDesk.get_release_id()], negative=False, ), + cls.FindAllRegexFilter( + name="prefer static", # less dynamic linking, more portability + regex=".*static.*", + negative=False, + ), cls.FindAllRegexFilter( name="prefer own distro-like", # prefer own distro like regex=RELEASE_ID_REGEX_MAP[