Skip to content

Commit

Permalink
Prepare to publish BETA1 releases.
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg committed Jun 4, 2024
1 parent 0c428c7 commit 87117b8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions gradle/changelog.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ if (project.name == 'plugin-gradle') {
kind = 'gradle'
} else if (project.name == 'plugin-maven') {
kind = 'maven'
} else if (project.name.startsWith('eclipse')) {
kind = 'ext-' + project.name
} else {
assert project == rootProject
kind = 'lib'
Expand All @@ -20,11 +18,13 @@ spotlessChangelog {
branch 'release'
tagPrefix "${kind}/"
commitMessage "Published ${kind}/{{version}}" // {{version}} will be replaced
}

if (gradle.startParameter.projectProperties.get('com.diffplug.spotless.include.ext.nop2') == 'true') {
tasks.named('changelogPrint') {
enabled = kind.startsWith('ext-')
if (kind == 'gradle') {
forceNextVersion '7.0.0.BETA1'
} else if (kind == 'maven') {
forceNextVersion '2.44.0.BETA1'
} else {
forceNextVersion '3.0.0.BETA1'
}
}

Expand Down

0 comments on commit 87117b8

Please sign in to comment.