Skip to content

Commit 433a1d9

Browse files
committed
Try to fix publishing.
1 parent 12d8371 commit 433a1d9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

gradle/spotless-freshmark.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,11 @@ if (tasks.names.contains('changelogCheck')) {
4747
// freshmark should run after the changelog bump
4848
changelogBumpFreshmark.dependsOn tasks.named('changelogBump')
4949

50-
def changelogBumpFreshmarkGitAdd = tasks.register('changelogBumpFreshmarkGitAdd') {
50+
def changelogBumpFreshmarkGitAdd = tasks.register('changelogBumpFreshmarkGitAdd', Exec) {
5151
// this git add should run after the freshmark
5252
dependsOn(changelogBumpFreshmark)
5353
// do the git add
54-
doLast {
55-
exec { commandLine 'git', 'add' , '*.md' }
56-
}
54+
commandLine 'git', 'add' , '*.md'
5755
}
5856
tasks.named('changelogPush').configure {
5957
dependsOn changelogBumpFreshmarkGitAdd

0 commit comments

Comments
 (0)