Skip to content

Commit 2641163

Browse files
committed
Revert "fix"
This reverts commit 0eae71b.
1 parent 0eae71b commit 2641163

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

release/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,13 @@ def cloneDocsWebsiteTask = tasks.register( 'cloneDocsWebsite', Exec ) {
110110
// Assure that the buildDir exists. Otherwise this task will fail.
111111
dependsOn compileJava
112112
workingDir project.layout.buildDirectory
113-
executeGitCommand( 'clone', docPublishRepoUri, '-b', docPublishBranch, '--sparse', '--depth', '1', 'docs-website' )
113+
commandLine 'git', 'clone', docPublishRepoUri, '-b', docPublishBranch, '--sparse', '--depth', '1', 'docs-website'
114114
}
115115

116116
def sparseCheckoutDocumentationTask = tasks.register( 'sparseCheckoutDocumentation', Exec ) {
117117
dependsOn cloneDocsWebsiteTask
118118
workingDir project.layout.buildDirectory.dir( "docs-website" )
119-
executeGitCommand( 'sparse-checkout', 'set', docWebsiteRelativePath )
119+
commandLine 'git', 'sparse-checkout', 'set', docWebsiteRelativePath
120120
}
121121

122122
/**
@@ -163,20 +163,20 @@ def updateDocumentationTask = tasks.register( 'updateDocumentation' ) {
163163

164164
def stageDocChangesTask = tasks.register( 'stageDocChanges', Exec ) {
165165
workingDir project.layout.buildDirectory.dir( "docs-website" )
166-
executeGitCommand( 'add', '-A', '.' )
166+
commandLine 'git', 'add', '-A', '.'
167167
}
168168

169169
def commitDocChangesTask = tasks.register( 'commitDocChanges', Exec ) {
170170
dependsOn stageDocChangesTask
171171
workingDir project.layout.buildDirectory.dir( "docs-website" )
172-
executeGitCommand( 'git', 'commit', '-m', "[HR] Hibernate Reactive documentation for ${projectVersion}" )
172+
commandLine 'git', 'commit', '-m', "[HR] Hibernate Reactive documentation for ${projectVersion}"
173173
}
174174

175175
def pushDocChangesTask = tasks.register( 'pushDocChanges', Exec ) {
176176
description "Push documentation changes on the remote repository"
177177
dependsOn commitDocChangesTask
178178
workingDir project.layout.buildDirectory.dir( "docs-website" )
179-
executeGitCommand( 'git', 'push', '--atomic', 'origin', docPublishBranch )
179+
commandLine 'git', 'push', '--atomic', 'origin', docPublishBranch
180180
}
181181

182182
def uploadDocumentationTask = tasks.register( 'uploadDocumentation' ) {

0 commit comments

Comments
 (0)