Minor tuning of auto tagging

This commit is contained in:
Miroslav Stampar 2016-04-04 12:34:19 +02:00
parent 31d7021d4c
commit acaef90c7b
2 changed files with 3 additions and 2 deletions

View File

@ -13,8 +13,9 @@ then
NEW_TAG=$(python -c "import re, sys, time; version = re.search('\"([0-9.]*)\"', sys.argv[1]).group(1); _ = version.split('.'); print '.'.join(_[:-1]) if len(_) == 4 and _[-1] == '0' else ''" "$LINE")
if [ -n "$NEW_TAG" ]
then
git commit -am "Automatic monthly tagging"
echo "Creating new tag ${NEW_TAG}";
git tag $NEW_TAG;
#git push origin $NEW_TAG
git push origin $NEW_TAG
fi
fi;

View File

@ -20,7 +20,7 @@ from lib.core.enums import OS
from lib.core.revision import getRevisionNumber
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.0.3.11"
VERSION = "1.0.3.12"
REVISION = getRevisionNumber()
STABLE = VERSION.count('.') <= 2
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")