Add tz_world.update to release scripts

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-10-15 15:59:08 +02:00
parent 88e9ae8214
commit d2ccc21f91
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
2 changed files with 3 additions and 2 deletions

View File

@ -213,7 +213,7 @@ package-app:
script: &release-script script: &release-script
- mix local.hex --force - mix local.hex --force
- mix local.rebar --force - mix local.rebar --force
- mix deps.get - mix deps.get && mix tz_world.update
- mix phx.digest - mix phx.digest
- mix release --path release/mobilizon - mix release --path release/mobilizon
- cd release/mobilizon && ln -s lib/mobilizon-*/priv priv - cd release/mobilizon && ln -s lib/mobilizon-*/priv priv

View File

@ -16,7 +16,8 @@ COPY mix.exs mix.lock ./
ENV MIX_ENV=prod ENV MIX_ENV=prod
RUN mix local.hex --force \ RUN mix local.hex --force \
&& mix local.rebar --force \ && mix local.rebar --force \
&& mix deps.get && mix deps.get \
&& mix tz_world.update
COPY lib ./lib COPY lib ./lib
COPY priv ./priv COPY priv ./priv