ci(release): clean deps native compilation artifacts before building production packages

Otherwise dependencies such as fast_html are kept already compiled and not recompiled for native
platform, leading to glibc version issues.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2025-03-12 10:32:27 +01:00
parent d4de94bd44
commit c35a67716b

View File

@@ -302,6 +302,7 @@ package-app:
script: &release-script
- mix local.hex --force
- mix local.rebar --force
- mix deps.clean --all # To avoid reusing native deps, such as lexbor being already built against another environment
- mix deps.get --only-prod
- mix compile
- mix phx.digest.clean --all && mix phx.digest