[Enhancement] Added --version flag
Change-Id: I4f90673ce4855ada405c4e93c9f4c2c08707e6fe Fix: bz#1011691
This commit is contained in:
@@ -11,6 +11,7 @@ if [ "$1" = "release" ] ; then
|
||||
SNAPTAG=""
|
||||
else
|
||||
SNAPTAG=$(git log --oneline | wc -l)
|
||||
sed -i -e "s/SNAPTAG=None/SNAPTAG=${SNAPTAG}/g" packstack/version.py
|
||||
fi
|
||||
|
||||
python setup.py setopt -o tag_build -s "$SNAPTAG" -c egg_info
|
||||
|
||||
Reference in New Issue
Block a user