Drop the version bump script
This commit is contained in:
parent
ad129955a9
commit
eb68f75173
3 changed files with 4 additions and 22 deletions
|
@ -14,12 +14,9 @@ TARGET = harbour-batterybuddy
|
|||
|
||||
CONFIG += console sailfishapp sailfishapp_i18n
|
||||
|
||||
# Keep this in sync with "service.pro"
|
||||
VER = 3.16.2
|
||||
REL = 1
|
||||
# Keep this in sync with service.pro and .spec
|
||||
VERSION = 3.16.2-1
|
||||
|
||||
VERSION = $${VER}-$${REL}
|
||||
system(bash update-spec-version.sh $$TARGET $$VER $$REL)
|
||||
DEFINES += APP_VERSION=\"\\\"$$VERSION\\\"\"
|
||||
DEFINES += APP_NAME=\"\\\"$$TARGET\\\"\"
|
||||
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
#!/bin/bash
|
||||
SPEC=../rpm/$1.spec
|
||||
if [[ $(grep "^Version: $2$" $SPEC | wc -l) = 0 ]]
|
||||
then
|
||||
sed -i "/^Version: /c\Version: $2" $SPEC
|
||||
touch src/$1.cpp
|
||||
fi
|
||||
if [[ $(grep "^Release: $3$" $SPEC | wc -l) = 0 ]]
|
||||
then
|
||||
sed -i "/^Release: /c\Release: $3" $SPEC
|
||||
touch src/$1.cpp
|
||||
fi
|
||||
echo true
|
|
@ -11,11 +11,9 @@ contains(LEGACY_BUILD, 1) { QT = core dbus multimedia }
|
|||
|
||||
PKGCONFIG += nemonotifications-qt5
|
||||
|
||||
# Keep this in sync with "application.pro"
|
||||
VER = 3.16.2
|
||||
REL = 1
|
||||
# Keep this in sync with application.pro and .spec
|
||||
VERSION = 3.16.2-1
|
||||
|
||||
VERSION = $${VER}-$${REL}
|
||||
DEFINES += APP_VERSION=\"\\\"$$VERSION\\\"\"
|
||||
DEFINES += APP_NAME=\"\\\"$$TARGET\\\"\"
|
||||
DEFINES += LEGACY_BUILD=$${LEGACY_BUILD}
|
||||
|
|
Loading…
Reference in a new issue