aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <max@magorsch.de>2020-01-01 23:46:29 +0100
committerMax Magorsch <max@magorsch.de>2020-01-01 23:46:29 +0100
commit512dc39b87e6c17f0e4cef7d75983525323e64bc (patch)
tree799b3c6ed45a9cc3c199f785297841a20f71c21a
parentFix the templates for Dockerhub and Github Packages (diff)
downloadpackages-5-512dc39b87e6c17f0e4cef7d75983525323e64bc.tar.gz
packages-5-512dc39b87e6c17f0e4cef7d75983525323e64bc.tar.bz2
packages-5-512dc39b87e6c17f0e4cef7d75983525323e64bc.zip
Add the current version to the about page
Use 'git describe --tags' for now to retrieve the current version. Signed-off-by: Max Magorsch <max@magorsch.de>
-rw-r--r--app/views/about/index.html.erb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/about/index.html.erb b/app/views/about/index.html.erb
index efa98a2..e5d6aff 100644
--- a/app/views/about/index.html.erb
+++ b/app/views/about/index.html.erb
@@ -15,6 +15,11 @@
<h2>FAQ</h2>
<dl>
+ <dt>Which version is currently running?</dt>
+ <dd>
+ Currently <%= `git describe --tags` %> is running.
+ </dd>
+ <br>
<dt>How do I use advanced search queries?</dt>
<dd>
Please view the <a href="/about/queries">advanced search queries page</a> for further information about advanced search queries.