1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-22 07:52:43 +00:00

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
- 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

View file

@ -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