config :pleroma, :httpoison, Pleroma.HTTP
version = with {version, 0} <- System.cmd("git", ["rev-parse", "HEAD"]) do
- "Pleroma #{String.trim(version)}"
+ "Pleroma #{Mix.Project.config[:version]} #{String.trim(version)}"
else
- _ -> "Pleroma dev"
+ _ -> "Pleroma #{Mix.Project.config[:version]} dev"
end
# Configures http settings, upstream proxy etc.
def project do
[app: :pleroma,
- version: "0.0.1",
+ version: "0.9.0",
elixir: "~> 1.4",
elixirc_paths: elixirc_paths(Mix.env),
compilers: [:phoenix, :gettext] ++ Mix.compilers,