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 0c4c653
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
projectVersion=5.0.0-SNAPSHOT
projectVersion=5.0.0-M1

# Grails
grailsVersion=7.0.0-M1
Expand Down

0 comments on commit 0c4c653

Please sign in to comment.