Skip to content

Commit 6faa9bb

Browse files
committed
Release 1.10.11 (#6165)
1 parent 2ff5db1 commit 6faa9bb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎extra/shutils/precommit-hook.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ declare -x SCRIPTPATH="${0}"
1818
PROJECT_FULLPATH=${SCRIPTPATH%/*}/$PROJECT
1919
SETTINGS_FULLPATH=${SCRIPTPATH%/*}/$SETTINGS
2020

21-
git diff $SETTINGS_FULLPATH | grep "VERSION =" > /dev/null && exit 0
21+
git diff HEAD -- $SETTINGS_FULLPATH | grep "^+VERSION =" > /dev/null && exit 0 # Note: manually set VERSION (staged or not, e.g. "git commit -a") is kept as is
2222

2323
if [ -f $SETTINGS_FULLPATH ]
2424
then

‎lib/core/settings.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from thirdparty import six
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.10.11.1"
22+
VERSION = "1.10.11.0"
2323
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2424
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2525
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

0 commit comments

Comments
 (0)