From 451593f45e517db5ef81af0d3ec94c206a5e3bcd Mon Sep 17 00:00:00 2001 From: Alex S Date: Sun, 16 Jun 2019 11:48:15 +0800 Subject: [PATCH] no print version to the shell --- mix.exs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/mix.exs b/mix.exs index a52debc91..93f2d8476 100644 --- a/mix.exs +++ b/mix.exs @@ -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