mirror of
https://github.com/ekaaty/ca-certificates-brazil.git
synced 2026-11-20 19:51:29 -03:00
Fix empty Release tag
This commit is contained in:
1 parent
90a07c90e6
commit
84338bb9ac
1 file changed
+2
@@ -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