summaryrefslogtreecommitdiff
path: root/mix.exs
diff options
context:
space:
mode:
authorhref <href@random.sh>2022-12-11 12:51:27 +0000
committerhref <href@random.sh>2022-12-11 12:51:27 +0000
commit5df2109a3c0e4545e46707ef15e013ce49292bbf (patch)
treed70741f0dda95e493578102898e9a163549fa733 /mix.exs
parentfeat(telegram): replace dets by couch for room settings (diff)
chore: git url, extend version number and improve reporting
- appends `.build%y%m%d@%H%M` to version - more info & runtime version in `!version` - `LSG.source_url()` to get the git url instead of hardcodes
Diffstat (limited to 'mix.exs')
-rw-r--r--mix.exs3
1 files changed, 2 insertions, 1 deletions
diff --git a/mix.exs b/mix.exs
index 330bcc0..05dd026 100644
--- a/mix.exs
+++ b/mix.exs
@@ -89,8 +89,9 @@ defmodule LSG.Mixfile do
Mix.env() == :prod -> ""
true -> "." <> to_string(Mix.env())
end
+ build_date_tag = Timex.format!(DateTime.utc_now(), ".build%y%m%d@%H%M", :strftime)
- v <> "+" <> info <> env
+ v <> "+" <> info <> env <> <> build_date_tag
end
end