reflect version change
This commit is contained in:
parent
e24fbbee86
commit
eb9d0ae961
1 changed files with 8 additions and 3 deletions
|
@ -1,8 +1,13 @@
|
|||
#!/bin/sh
|
||||
head -15 configure.ac | grep VERSION > /tmp/commitTool.tmp
|
||||
head -16 configure.ac | grep VERSION= > /tmp/commitTool.tmp
|
||||
source /tmp/commitTool.tmp
|
||||
if [ -z "$EXTRA_GTK2_VERSION" ]; then
|
||||
EXTRA_VERSION=`echo $EXTRA_VERSION | awk -F'.' '{for (i=1;i<NF;i++){printf $i"."};printf $NF+1}'`
|
||||
nextsversion="${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}cvs${EXTRA_VERSION}"
|
||||
else
|
||||
EXTRA_GTK2_VERSION=`echo $EXTRA_GTK2_VERSION | awk -F'.' '{for (i=1;i<NF;i++){printf $i"."};printf $NF+1}'`
|
||||
nextsversion="${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}cvs${EXTRA_VERSION}${EXTRA_GTK2_VERSION}"
|
||||
fi
|
||||
rm /tmp/commitTool.tmp
|
||||
|
||||
IFS='
|
||||
|
|
Loading…
Reference in a new issue