Merge topic 'commit.gpgsign'

db7c04dfb2 Test(git): set commit.gpgsign to false

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10900
This commit is contained in:
Brad King
2025-06-24 14:46:54 +00:00
committed by Kitware Robot
4 changed files with 5 additions and 0 deletions
+2
View File
@@ -19,6 +19,8 @@ message(" git = ${GIT}")
set(AUTHOR_CONFIG "[user]
\tname = Test Author
\temail = testauthor@cmake.org
[commit]
\tgpgsign = false
")
#-----------------------------------------------------------------------------
@@ -95,6 +95,7 @@ if(do_git_tests)
GIT_TAG ${TEST_GIT_TAG}
GIT_CONFIG "user.email=testauthor@cmake.org"
"user.name=testauthor"
"commit.gpgsign=false"
CMAKE_GENERATOR "${CMAKE_GENERATOR}"
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
INSTALL_COMMAND ""
+1
View File
@@ -20,6 +20,7 @@ function(initGitRepo workDir)
execGitCommand("${workDir}" config user.email "testauthor@cmake.org")
execGitCommand("${workDir}" config user.name testauthor)
execGitCommand("${workDir}" config core.autocrlf false)
execGitCommand("${workDir}" config commit.gpgsign false)
execGitCommand("${workDir}" add CMakeLists.txt)
execGitCommand("${workDir}" commit -m "Initial commit")
endfunction()
@@ -47,6 +47,7 @@ endfunction()
execGitCommand(-c init.defaultBranch=master init)
execGitCommand(config --add user.email "testauthor@cmake.org")
execGitCommand(config --add user.name testauthor)
execGitCommand(config commit.gpgsign "false")
# Create the initial repo structure
execGitCommand(add firstFile.txt)