Added a better way of setting/reading the app version; fixed some of the flexbox sizing
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
gballan committed 2025-07-28 10:23:51 -04:00
1 parent d59c75281e
commit 5cc3b8f824
7 files changed
+25 -12

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
module AppInfo
VERSION = '0.1.0'
end
+1 -1
View File
@@ -8,7 +8,7 @@ module Helpers
end
def app_version()
`git describe --tags`.strip
return AppInfo::VERSION
end
def date_format(date)
+2
View File
@@ -5,6 +5,8 @@ require 'sinatra/json'
require 'sequel'
require 'sqlite3'
require_relative './appinfo'
# Load the Sequel timestamps plugin
Sequel::Model.plugin(:timestamps)
# Initialize Sequel gem for database actions