[network/kio-gdrive] /: Port to RELEASE_SERVICE_VERSION automatic version

Elvis Angelaccio null at kde.org
Sun Jul 5 15:14:41 BST 2020


Git commit 123f73f1b387e7aae00bd0e3f3b13662485951f2 by Elvis Angelaccio.
Committed on 05/07/2020 at 14:11.
Pushed by elvisangelaccio into branch 'master'.

Port to RELEASE_SERVICE_VERSION automatic version

As kio-gdrive is now part of the release service.

CCMAIL: release-team at kde.org

M  +7    -3    CMakeLists.txt

https://invent.kde.org/network/kio-gdrive/commit/123f73f1b387e7aae00bd0e3f3b13662485951f2

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 06e9e0d..9f962aa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,11 @@
 cmake_minimum_required(VERSION 3.0)
 
-set(GDRIVE_VERSION 1.3.70)
-project(kio-gdrive VERSION ${GDRIVE_VERSION})
+# KDE Application Version, managed by release script
+set (RELEASE_SERVICE_VERSION_MAJOR "20")
+set (RELEASE_SERVICE_VERSION_MINOR "07")
+set (RELEASE_SERVICE_VERSION_MICRO "70")
+set (RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}")
+project(kio-gdrive VERSION ${RELEASE_SERVICE_VERSION})
 
 set(QT_MIN_VERSION 5.2.0)
 set(KF5_MIN_VERSION 5.71.0)
@@ -54,7 +58,7 @@ if(NOT Qt5Test_FOUND)
    set(BUILD_TESTING OFF CACHE BOOL "Build the testing tree.")
 endif()
 
-ecm_setup_version(PROJECT
+ecm_setup_version(${RELEASE_SERVICE_VERSION}
     VARIABLE_PREFIX GDRIVE
     VERSION_HEADER gdriveversion.h)
 


More information about the release-team mailing list