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
fi
if [ ! "$1" == "release" ]
if [ "$1" == "release" ]
then
echo "Updating build number"
let number++

View File

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