From ebaafae7ad1b71809574f3dec93e7486fe16d781 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Wed, 14 Oct 2026 05:06:49 +0000 Subject: 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. --- cmake/Release.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake') 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) -- cgit v1.3.1-4-g156e