aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-14 05:06:49 +0000
committer_ov4 <ov4@ov4.org>2026-10-14 05:06:49 +0000
commitebaafae7ad1b71809574f3dec93e7486fe16d781 (patch)
treed44c5d9882e0b7b1176abcfa829ae1f3253de310 /cmake
parentfed12356ba4cd7c36b10fe5191878c7348d27206 (diff)
fix(release): compact package timestamps
Format the HEAD commit's UTC timestamp as yyyymmdd-hhmmss in release package names. Preserve the short commit ID, platform and archive format, and update the installation and architecture documentation. Validation: cmake --build build --target release passed and generated cpsc-20261014-034032-fed1235-Linux-x86_64.tar.xz.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Release.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Release.cmake b/cmake/Release.cmake
index 66c2e2b..dfb6586 100644
--- a/cmake/Release.cmake
+++ b/cmake/Release.cmake
@@ -13,7 +13,7 @@ if(NOT cpsc_git_result STREQUAL "0" OR NOT cpsc_revision MATCHES "^([0-9]+):([0-
endif()
set(ENV{SOURCE_DATE_EPOCH} "${CMAKE_MATCH_1}")
set(cpsc_short_id "${CMAKE_MATCH_2}")
-string(TIMESTAMP cpsc_commit_time "%Y-%m-%d-%H-%M-%S" UTC)
+string(TIMESTAMP cpsc_commit_time "%Y%m%d-%H%M%S" UTC)
set(cpsc_package_name "cpsc-${cpsc_commit_time}-${cpsc_short_id}-${CPSC_PLATFORM}")
set(cpsc_package_dir "${CPSC_BINARY_DIR}/release/${cpsc_package_name}")
if(CPSC_WINDOWS)