From de5654e7a832554ade452e18dce65326b7025b17 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 6 Jan 2016 20:23:25 +0100 Subject: cmake: append branch information for branch builds --- cmake/opentrack-tarball.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cmake/opentrack-tarball.cmake') diff --git a/cmake/opentrack-tarball.cmake b/cmake/opentrack-tarball.cmake index 6b40081b..f26052f3 100644 --- a/cmake/opentrack-tarball.cmake +++ b/cmake/opentrack-tarball.cmake @@ -11,6 +11,9 @@ set(filename_1) if (NOT OPENTRACK_TAG_EXACT STREQUAL OPENTRACK_COMMIT) string(TIMESTAMP filename_1 "-%Y%m%d%H%M%S") endif() +if (NOT filename-branch STREQUAL "unstable") + string(CONCAT filename_0 ${filename_0} "-" ${filename-branch}) +endif() set(filename "${CMAKE_BINARY_DIR}/${filename_0}${filename_1}.zip") add_custom_target(tarball-real) -- cgit v1.2.3