File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 - ' .github/workflows/cppcmake.yml'
1414 pull_request :
1515 release :
16- types : ['created ']
16+ types : ['published ']
1717 workflow_dispatch :
1818 inputs :
1919 cmakeextra :
Original file line number Diff line number Diff line change @@ -50,6 +50,11 @@ elseif(WIN32)
5050 set (CPACK_GENERATOR ZIP)
5151else ()
5252 set (CPACK_GENERATOR DEB TGZ)
53+ # Debian prereleases must sort before the corresponding stable version.
54+ # Keep the Git tag and other package metadata unchanged (e.g. 1.18.0.b3).
55+ string (REGEX REPLACE
56+ "^([0-9]+\\ .[0-9]+\\ .[0-9]+)[.-]?((alpha|beta|rc|a|b)[0-9]+)$"
57+ "\\ 1~\\ 2" CPACK_DEBIAN_PACKAGE_VERSION "${LSL_VERSION_FULL} " )
5358 set (CPACK_DEBIAN_PACKAGE_MAINTAINER "LabStreamingLayer Developers" )
5459 set (CPACK_DEBIAN_PACKAGE_SECTION "science" )
5560 if (LSL_ARCH STREQUAL "amd64" OR LSL_ARCH STREQUAL "arm64" OR LSL_ARCH STREQUAL "i386" )
You can’t perform that action at this time.
0 commit comments