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 b8032a5 commit c7f351cCopy full SHA for c7f351c
CMakeLists.txt
@@ -62,7 +62,7 @@ add_custom_target(
62
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
63
COMMAND "${GIT}" diff-index --quiet HEAD -- # check for uncommitted changes
64
COMMAND "${GIT}" branch --show-current | "${GREP}" -qx main # check for main branch
65
- COMMAND "${GIT}" cherry -v origin/main | "${GREP}" grep -q '^' # check for unpushed commits
+ COMMAND "${GIT}" cherry -v origin/main | "${GREP}" grep -q "'^'" # check for unpushed commits
66
COMMAND "${GIT}" tag "v${CMAKE_PROJECT_VERSION}"
67
COMMAND "${GIT}" push "v${CMAKE_PROJECT_VERSION}")
68
0 commit comments