diff --git a/.reuse/dep5 b/.reuse/dep5 index c63a9aca..cc71982f 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -30,7 +30,7 @@ Copyright: None License: CC0-1.0 # cmake -Files: *.cmake *CMakeLists.txt *.pc.in, cmake/*.in misc/*.in +Files: *.cmake *CMakeLists.txt *.pc.in, cmake/*.in misc/*.in VERSION Copyright: None License: CC0-1.0 diff --git a/.syncexclude b/.syncexclude index 7b42c60d..f45bbe96 100644 --- a/.syncexclude +++ b/.syncexclude @@ -9,3 +9,4 @@ # are always ignored linglong.yaml conanfile.py +VERSION diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a9605e3..d8e03f67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,24 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [5.7.17] - 2025-06-06 + +### Added + +- Feat(ci): add auto release + +### Changed + +- Support VERSION file + +### Fixed + +- .deepin@main -> .deepin@master + ## 5.7.14 (2025-04-12) diff --git a/CMakeLists.txt b/CMakeLists.txt index bce068c9..6d4002e0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,9 @@ cmake_minimum_required (VERSION 3.13) -set (DTK_VERSION "5.6.12" CACHE STRING "define project version") +file(READ "${CMAKE_CURRENT_SOURCE_DIR}/VERSION" DTK_FILE_VERSION) +string(STRIP "${DTK_FILE_VERSION}" DTK_FILE_VERSION) +set(DTK_VERSION "${DTK_FILE_VERSION}" CACHE STRING "DTK version") + project (DtkCore VERSION ${DTK_VERSION} DESCRIPTION "DTK Core module" diff --git a/VERSION.in b/VERSION.in new file mode 100644 index 00000000..14d2ff63 --- /dev/null +++ b/VERSION.in @@ -0,0 +1 @@ +@version@