[prev in list] [next in list] [prev in thread] [next in thread] 

List:       omd-commits
Subject:    [omd-commits] OMD Git: omd: removed v from version
From:       git () mathias-kettner ! de (git version control)
Date:       2010-10-25 18:46:04
Message-ID: 20101025184604.A9007C028E9 () mail ! mathias-kettner ! de
[Download RAW message or body]

Module: omd
Branch: master
Commit: 469b4832363c04dea57eae773dfb0d42cb8c6471
URL:    http://omdistro.org/projects/omd/repository/revisions/469b4832363c04dea57eae773dfb0d42cb8c6471

Author: Sven Nierlein <sven at nierlein.de>
Date:   Mon Oct 25 20:45:56 2010 +0200

removed v from version

---

 get_version |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/get_version b/get_version
index 3cb388d..d688b1f 100755
--- a/get_version
+++ b/get_version
@@ -10,7 +10,7 @@ fi
 # ex.: v0.42
 version=`git describe --tag --exact-match 2>/dev/null`
 if [ $? -eq 0 ]; then
-  echo $version
+  echo $version | tr -d 'v'
   exit 0
 fi
 
@@ -29,7 +29,7 @@ if [ $? -eq 0 ]; then
   fi
   version="$major.$minor"
 
-  echo $version.$date
+  echo $version.$date | tr -d 'v'
   exit 1
 fi
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic