We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 487a046 commit ea0de86Copy full SHA for ea0de86
cmake/makeDist.cmake
@@ -76,4 +76,14 @@ with status: ${gpg_status} and output: ${gpg_output}")
76
"${CMAKE_ARGV4}/${l_archive}-SHA256.txt.asc")
77
message(STATUS "GPG signed SHA256 checksum created: ${CMAKE_ARGV4}/${l_archive}-SHA256.txt.asc")
78
endif()
79
+ execute_process(
80
+ COMMAND "${GPG_EXECUTABLE}" --armor --detach-sign --comment "Detached signature of ${archive}.tar.gz." "${release_asset}"
81
+ RESULT_VARIABLE gpg_status
82
+ RESULT_VARIABLE gpg_output
83
+ WORKING_DIRECTORY "${CMAKE_ARGV4}"
84
+ )
85
+ if(NOT (gpg_status STREQUAL "0"))
86
+ message( WARNING "GPG signing of ${release_asset} appears to have failed
87
+with status: ${gpg_status} and output: ${gpg_output}")
88
+ endif()
89
0 commit comments