Commit 0c9bfadb authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Follow release service version numbers

Ever since joining the release service we never increased our version number on release.
I've seen distros automatically apply the release service version scheme (20.0X) to the package,
but when running e.g. kdeconnect-cli -v we'd still get 1.4.

This way the version is automatically adjusted by the release tooling so we don't need to care about and cannot forget it any longer.
parent 1f0bd423
Pipeline #37752 failed with stage
in 60 minutes and 12 seconds
cmake_minimum_required(VERSION 3.0)
project(kdeconnect)
# KDE Release Service Version, managed by release script
set (RELEASE_SERVICE_VERSION_MAJOR "20")
set (RELEASE_SERVICE_VERSION_MINOR "11")
set (RELEASE_SERVICE_VERSION_MICRO "70")
set (RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}")
project(kdeconnect VERSION ${RELEASE_SERVICE_VERSION})
if (SAILFISHOS)
set(KF5_MIN_VERSION "5.36.0")
......@@ -29,7 +35,7 @@ endif()
include(KDEConnectMacros.cmake)
ecm_setup_version(1.4.0
ecm_setup_version(${RELEASE_SERVICE_VERSION}
VARIABLE_PREFIX KDECONNECT
VERSION_HEADER ${CMAKE_CURRENT_BINARY_DIR}/kdeconnect-version.h
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment