Revise version number

This commit is contained in:
MrDave
2016-08-17 18:42:14 -06:00
parent 9b4c16cae0
commit d07175348b
3 changed files with 5 additions and 14 deletions

View File

@@ -1,5 +1,3 @@
#!/bin/sh
SNV_VERSION=`cd "$1" && LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2`
SNV_VERSION=`expr $SNV_VERSION + 1`
echo -n "trunkREV$SNV_VERSION"
SNV_VERSION=`git show -s --format=%h`
echo -n "3.4.1+git$SNV_VERSION"

View File

@@ -1,5 +1,5 @@
#!/bin/sh
SNV_VERSION=`git show -s --format=%h`
echo -n "3.4.0-Git-$SNV_VERSION"
echo -n "3.4.1+git$SNV_VERSION"

View File

@@ -1,10 +1,3 @@
#!/bin/sh
SNV_VERSION=`cd "$1" && LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2`
test $SNV_VERSION || SNV_VERSION=`cd "$1" && grep revision .svn/entries 2>/dev/null | cut -d '"' -f2`
test $SNV_VERSION || SNV_VERSION=UNKNOWN
GITDIR=".git"
if [ -d "$GITDIR" ]; then
SNV_VERSION=`git show -s --format=%h`
fi
echo -n "3.4.1~rc01"
SNV_VERSION=`git show -s --format=%h`
echo -n "3.4.1+git$SNV_VERSION"