mirror of
https://github.com/Motion-Project/motion.git
synced 2026-04-23 07:27:08 -04:00
Revise version number
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
11
version.sh
11
version.sh
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user