Merge branch 'feature/improve-version' into 'develop'
Improved version string See merge request pleroma/pleroma!467
This commit is contained in:
commit
182e3e8da2
6 changed files with 58 additions and 13 deletions
|
|
@ -1,6 +1,12 @@
|
|||
defmodule Pleroma.Application do
|
||||
use Application
|
||||
|
||||
@name "Pleroma"
|
||||
@version Mix.Project.config()[:version]
|
||||
def name, do: @name
|
||||
def version, do: @version
|
||||
def named_version(), do: @name <> " " <> @version
|
||||
|
||||
# See http://elixir-lang.org/docs/stable/elixir/Application.html
|
||||
# for more information on OTP Applications
|
||||
@env Mix.env()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue