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

10
mix.exs
View File

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