From acaef90c7bdfa377f0189b9136c3f7ace343e5df Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 4 Apr 2016 12:34:19 +0200 Subject: [PATCH] Minor tuning of auto tagging --- extra/shutils/postcommit-hook | 3 ++- lib/core/settings.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/extra/shutils/postcommit-hook b/extra/shutils/postcommit-hook index 7bd5f16c9..75df3ce60 100644 --- a/extra/shutils/postcommit-hook +++ b/extra/shutils/postcommit-hook @@ -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; diff --git a/lib/core/settings.py b/lib/core/settings.py index 2ed5a7eff..5004e4e6a 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -20,7 +20,7 @@ from lib.core.enums import OS from lib.core.revision import getRevisionNumber # sqlmap version (...) -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")