diff --git a/dist/debian/changelog b/dist/debian/changelog index c5c709e33..e32aca73a 100644 --- a/dist/debian/changelog +++ b/dist/debian/changelog @@ -1,4 +1,4 @@ -valentina (0.2.8-alpha) trusty; urgency=low +valentina (0.2.9) trusty; urgency=low * Auto build. diff --git a/dist/nsis/valentina.nsi b/dist/nsis/valentina.nsi index 09b811912..83c88332c 100644 --- a/dist/nsis/valentina.nsi +++ b/dist/nsis/valentina.nsi @@ -14,7 +14,7 @@ SetCompressor /FINAL /SOLID lzma !define MUI_FILE "valentina" !insertmacro GetPEVersionLocal "c:\pack\valentina\valentina.exe" ver -!define MUI_VERSION "${ver_1}.${ver_2}.${ver_3}-alpha" +!define MUI_VERSION "${ver_1}.${ver_2}.${ver_3}" !define MUI_BRANDINGTEXT "Valentina ${MUI_VERSION}" !define WEBSITE_LINK "http://www.valentina-project.org/" diff --git a/dist/rpm/valentina.spec b/dist/rpm/valentina.spec index 633415889..c092a06fa 100644 --- a/dist/rpm/valentina.spec +++ b/dist/rpm/valentina.spec @@ -25,7 +25,7 @@ BuildRequires: ccache BuildRequires: update-desktop-files %endif -Version: 0.2.8 +Version: 0.2.9 Release: 0 URL: https://bitbucket.org/dismine/valentina License: GPL-3.0+ diff --git a/src/app/app.pro b/src/app/app.pro index fcc923638..d69191a0a 100644 --- a/src/app/app.pro +++ b/src/app/app.pro @@ -109,7 +109,7 @@ CONFIG(debug, debug|release){ #Calculate latest tag distance and build revision only in release mode. Change number each time requare #recompilation precompiled headers file. DEFINES += "LATEST_TAG_DISTANCE=0" - DEFINES += "BUILD_REVISION=\\\"uknown\\\"" + DEFINES += "BUILD_REVISION=\\\"unknown\\\"" }else{ # Release mode DEFINES += V_NO_ASSERT @@ -126,7 +126,7 @@ CONFIG(debug, debug|release){ } #latest tag distance number for using in version - HG_DISTANCE=$$system(hg log -r tip --template '{latesttagdistance}') + HG_DISTANCE=$$system(hg log -r. --template '{latesttagdistance}') isEmpty(HG_DISTANCE){ HG_DISTANCE = 0 # if we can't find local revision left 0. } @@ -135,10 +135,10 @@ CONFIG(debug, debug|release){ #build revision number for using in version unix { - HG_HESH=$$system("hg log -r tip --template '{node|short}'") + HG_HESH=$$system("hg log -r. --template '{node|short}'") } else { # Use escape character before "|" on Windows - HG_HESH=$$system(hg log -r tip --template "{node^|short}") + HG_HESH=$$system(hg log -r. --template "{node^|short}") } isEmpty(HG_HESH){ HG_HESH = "unknown" # if we can't find build revision left unknown.