no print version to the shell

This commit is contained in:
Alex S 2019-06-16 11:48:15 +08:00
parent e02f22d779
commit 451593f45e
1 changed files with 3 additions and 7 deletions

View File

@ -215,12 +215,8 @@ defp version(version) do
"-" <> branch_name "-" <> branch_name
end end
full_version =
[version, git_pre_release, branch_name, build] [version, git_pre_release, branch_name, build]
|> Enum.filter(fn string -> string && string != "" end) |> Enum.filter(fn string -> string && string != "" end)
|> Enum.join() |> Enum.join()
Mix.shell().info("Project version: #{full_version}")
full_version
end end
end end