From 9effad00c3a055b1ed909f49e306fcc1e906f347 Mon Sep 17 00:00:00 2001 From: Ian Fore Date: Wed, 16 Sep 2015 21:33:42 -0400 Subject: [PATCH] Added version tagging to home page --- header.php | 5 ++++- helper_functions.php | 7 +++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/header.php b/header.php index 995e2d7..f09835c 100644 --- a/header.php +++ b/header.php @@ -1,4 +1,5 @@ + @@ -50,7 +51,9 @@
  • Contact
  • -

    BioCADDIE

    +

    BioCADDIE + +

    \ No newline at end of file diff --git a/helper_functions.php b/helper_functions.php index 0067735..d5f1d92 100644 --- a/helper_functions.php +++ b/helper_functions.php @@ -60,4 +60,11 @@ function convert_facets_post($string){ $newString = $key.':'.$value; return $newString; } + +function getGitRevision() +{ + exec('git describe --all',$refs); + return $refs[0]; +} + ?> \ No newline at end of file