Skip to content

Commit

Permalink
render sha and md5 hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv committed Jan 8, 2025
1 parent f7850a8 commit 4bd96e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rattler_build_conda_compat/recipe_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ def render(template: str | list[str], context: dict[str, str]) -> str | list[str
as_url = Source(
url=render(elem_dict["url"], context_variables),
template=elem_dict["url"],
sha256=elem_dict.get("sha256"),
md5=elem_dict.get("md5"),
sha256=render(elem_dict.get("sha256"), context_variables),
md5=render(elem_dict.get("md5"), context_variables),
context=context_variables,
)
final_sources.add(as_url)
Expand Down

0 comments on commit 4bd96e7

Please sign in to comment.