VERSION=$(git rev-parse --short HEAD)
echo $VERSION
VERSION=$(git rev-parse --short HEAD)
if [ "$VERSION" != "" ]; then
	echo $VERSION
else
	echo "1"
fi

Return always 1 if no git
Return always 1 if no git
