Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix GitReleasePluginTests when global .gitconfig contains custom pret…
…ty format settings Test case "commitOptions are passed through to git command" would fail on my machine due to custom pretty format settings: ~/.gitconfig: [format] pretty = %Cgreen%ci:%C(yellow)%d%Creset|%G?|%s (%Cred%h%Creset by %C(bold blue)%an%Creset) %ae [%GS] This resulted in the following test failure: Condition not satisfied: newestCommit.contains("Signed-off-by: Unit Test <unit@test>") | | | false 2023-03-26 15:23:54 +0200: (myBranch)|N|[Gradle Release Plugin] - new version commit: '1.1'. (40b3a21 by Unit Test) unit@test [] at net.researchgate.release.GitReleasePluginTests.commitOptions are passed through to git command(GitReleasePluginTests.groovy:133)
- Loading branch information