feat(ui): add footer with links to docs and discussions

This commit is contained in:
Adam Cooke
2021-07-30 19:41:14 +00:00
parent 9bcb5993fa
commit 1247dae2e0
6 changed files with 56 additions and 8 deletions
+7 -6
View File
@@ -1,11 +1,12 @@
module Postal
VERSION = '1.0.0'
REVISION = nil
CHANNEL = 'dev'
VERSION_PATH = File.expand_path('../../VERSION', __dir__)
VERSION = if File.file?(VERSION_PATH)
File.read(VERSION_PATH).strip.delete_prefix('v')
else
'0.0.0-dev'
end
def self.version
[VERSION, REVISION, CHANNEL].compact.join('-')
VERSION
end
end