Skip to content

Commit

Permalink
Only apply nexus publish when publishing a release
Browse files Browse the repository at this point in the history
  • Loading branch information
jdaugherty committed Dec 23, 2024
1 parent b7417bf commit f061d81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'io.github.gradle-nexus.publish-plugin'
if(!project.projectVersion.endsWith('-SNAPSHOT')) {
apply plugin: "io.github.gradle-nexus.publish-plugin"
}

allprojects {
Expand Down

0 comments on commit f061d81

Please sign in to comment.