mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 01:22:00 +00:00
Change autoversion scheme for dev builds
We need to be compliant with python versioning for the tools to keep working
This commit is contained in:
parent
663b320868
commit
8db6382629
@ -2,7 +2,7 @@ cd `dirname $0`
|
||||
VERSION=`git describe|cut -d- -f 1`
|
||||
NUMCOMMITS=`git describe|cut -d- -f 2`
|
||||
if [ "$NUMCOMMITS" != "$VERSION" ]; then
|
||||
VERSION=$VERSION.dev$NUMCOMMITS.g`git describe|cut -d- -f 3`
|
||||
VERSION=$VERSION.dev$NUMCOMMITS+g`git describe|cut -d- -f 3`
|
||||
fi
|
||||
echo $VERSION > VERSION
|
||||
sed -e "s/#VERSION#/$VERSION/" setup.py.tmpl > setup.py
|
||||
|
Loading…
Reference in New Issue
Block a user