diff options
author | Badlop <badlop@process-one.net> | 2021-12-08 16:22:24 +0100 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2021-12-08 16:31:36 +0100 |
commit | 0f9a0156c67b3ad3ccdaafaeee266778fa89073a (patch) | |
tree | bdb5622469c4f3ab87f0e97d61aee084b6acacb2 /mix.exs | |
parent | Relax strictness in mix dependency versions (diff) |
Handle mix version when running docker-ejabberd/ecs/build.sh latest
Diffstat (limited to 'mix.exs')
-rw-r--r-- | mix.exs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -24,6 +24,7 @@ defmodule Ejabberd.MixProject do case config(:vsn) do :false -> "0.0.0" # ./configure wasn't run: vars.config not created '0.0' -> "0.0.0" # the full git repository wasn't downloaded + 'latest.0' -> "0.0.0" # running 'docker-ejabberd/ecs/build.sh latest' [_, _, ?., _, _] = x -> head = String.replace(:erlang.list_to_binary(x), ~r/0+([0-9])/, "\\1") <<head::binary, ".0">> |