Skip to content

Commit

Permalink
feat: added prefer static filter to gh-release
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbraun89 authored Apr 14, 2023
1 parent 84f9ee7 commit 0304a6d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nanolayer/installers/gh_release/gh_release_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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[
Expand Down

0 comments on commit 0304a6d

Please sign in to comment.