forked from AkkomaGang/akkoma
no print version to the shell
This commit is contained in:
parent
e02f22d779
commit
451593f45e
1 changed files with 3 additions and 7 deletions
4
mix.exs
4
mix.exs
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue