From d2ccc21f91619c55a8b8d4fd58f385e81ddafa9a Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Fri, 15 Oct 2021 15:59:08 +0200 Subject: [PATCH] Add tz_world.update to release scripts Signed-off-by: Thomas Citharel --- .gitlab-ci.yml | 2 +- docker/production/Dockerfile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index df71cd174..4c266fe24 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -213,7 +213,7 @@ package-app: script: &release-script - mix local.hex --force - mix local.rebar --force - - mix deps.get + - mix deps.get && mix tz_world.update - mix phx.digest - mix release --path release/mobilizon - cd release/mobilizon && ln -s lib/mobilizon-*/priv priv diff --git a/docker/production/Dockerfile b/docker/production/Dockerfile index 5d09d0b9c..780cb44ad 100644 --- a/docker/production/Dockerfile +++ b/docker/production/Dockerfile @@ -16,7 +16,8 @@ COPY mix.exs mix.lock ./ ENV MIX_ENV=prod RUN mix local.hex --force \ && mix local.rebar --force \ - && mix deps.get + && mix deps.get \ + && mix tz_world.update COPY lib ./lib COPY priv ./priv