Skip to content

Commit

Permalink
Try to *always* disable staging
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinesp committed May 3, 2024
1 parent 33b7ab5 commit 9a4866a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/publish-root.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ if (secretPropsFile.exists()) {
}

nexusPublishing {
useStaging.set(provider {
!project.version.toString().contains("-SNAPSHOT")
})
useStaging.set(provider { false }) // for snapshots
repositories {
sonatype {
stagingProfileId = sonatypeStagingProfileId
Expand Down

0 comments on commit 9a4866a

Please sign in to comment.