Messed that last commit up.

This commit is contained in:
Mark Watkins 2014-07-09 16:54:50 +10:00
parent 74a9b3379b
commit 7c22916e79
2 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ else
number=0 number=0
fi fi
if [ ! "$1" == "release" ] if [ "$1" == "release" ]
then then
echo "Updating build number" echo "Updating build number"
let number++ let number++

View File

@ -101,10 +101,10 @@ win32 {
unix { unix {
# Update build number # Update build number
CONFIG(release, debug|release) { CONFIG(debug, debug|release) {
build_nr.commands = $$PWD/scripts/inc_build.sh release
} else {
build_nr.commands = $$PWD/scripts/inc_build.sh debug build_nr.commands = $$PWD/scripts/inc_build.sh debug
} else {
build_nr.commands = $$PWD/scripts/inc_build.sh release
} }
build_nr.depends = FORCE build_nr.depends = FORCE
QMAKE_EXTRA_TARGETS += build_nr QMAKE_EXTRA_TARGETS += build_nr