Skip to content

Commit 98ea29b

Browse files
committed
[CI] Don't publish docs to Maven Central
1 parent 92aa2c5 commit 98ea29b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildSrc/src/main/java/org/springframework/pulsar/gradle/publish/PublishArtifactsPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public void apply(Project project) {
1212
project.getTasks().register("publishArtifacts", publishArtifacts -> {
1313
publishArtifacts.setGroup("Publishing");
1414
publishArtifacts.setDescription("Publish the artifacts to either Artifactory or Maven Central based on the version");
15-
if (ProjectUtils.isRelease(project)) {
15+
if (ProjectUtils.isRelease(project) && !project.getName().equals("spring-pulsar-docs")) {
1616
publishArtifacts.dependsOn("publishToOssrh");
1717
}
1818
else {

0 commit comments

Comments
 (0)