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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user