mirror of
https://github.com/ekaaty/ca-certificates-brazil.git
synced 2025-12-06 01:22:38 -03:00
Fix empty Release tag
This commit is contained in:
@@ -72,6 +72,8 @@ execute_process(
|
||||
"head -1 \"${CMAKE_CURRENT_SOURCE_DIR}/changelog.txt\" \
|
||||
| grep -iPo '.*${CPACK_PACKAGE_VERSION}-\\K[\\d]' \
|
||||
| tr -d '\\n' \
|
||||
| grep -P '\\d' \
|
||||
|| echo -n 1 \
|
||||
"
|
||||
OUTPUT_VARIABLE CPACK_RPM_PACKAGE_RELEASE
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user