有没有办法在发布版本中获取版本号(1.2.3,以下情况)?包装是在酿酒厂建造的。
def project do
[app: :sample,
version: "1.2.3",
elixir: "~> 1.3",
elixirc_paths: elixirc_paths(Mix.env),
compilers: [:phoenix, :gettext] ++ Mix.compilers,
build_embedded: (Mix.env == :stg) or (Mix.env == :prod),
start_permanent: (Mix.env == :stg) or (Mix.env == :prod),
aliases: aliases,
deps: deps]
end