Browse Source

Fix common.pri

Antialize 15 years ago
parent
commit
75501be75f
3 changed files with 2 additions and 4 deletions
  1. 0 2
      common.pri
  2. 1 1
      scripts/release.sh
  3. 1 1
      version.pri

+ 0 - 2
common.pri

@@ -1,5 +1,3 @@
-DEFINES += MAJOR_VERSION=0 MINOR_VERSION=9 PATCH_VERSION=9 BUILD=""
-
 TEMP = $$[QT_INSTALL_LIBS] libQtGui.prl
 PRL  = $$[QT_INSTALL_LIBS] QtGui.framework/QtGui.prl
 include($$join(TEMP, "/"))

+ 1 - 1
scripts/release.sh

@@ -35,7 +35,7 @@ echo "About to release $v"
 read -p "Are you sure you are ready: " N
 [ "$N" != "YES" ] && exit
 
-echo "MAJOR_VERSION=$1 MINOR_VERSION=$2 PATCH_VERSION=$3 BUILD=\"$4\"" > version.pri
+echo "DEFINES += MAJOR_VERSION=$1 MINOR_VERSION=$2 PATCH_VERSION=$3 BUILD=\"$4\"" > version.pri
 HEAD="$(git log --pretty=oneline  -n 1 | sed -e 's/ .*//')"
 git commit -m "TEMPORERY DO NOT COMMIT $v" version.pri
 

+ 1 - 1
version.pri

@@ -1 +1 @@
-MAJOR_VERSION=0 MINOR_VERSION=10 PATCH_VERSION=0 BUILD="beta2"
+DEFINES += MAJOR_VERSION=0 MINOR_VERSION=10 PATCH_VERSION=0 BUILD="beta2"