Skip to content

Commit

Permalink
condition for skipping signing
Browse files Browse the repository at this point in the history
  • Loading branch information
cb-pravinrajmohan committed Nov 17, 2023
1 parent b9da44f commit ef1a9fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chargebee/deploy.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ afterEvaluate {
}
}

ext.isReleaseVersion = !version.endsWith("SNAPSHOT")

signing {
required { isReleaseVersion && gradle.taskGraph.hasTask("publish") }
sign publishing.publications
}

0 comments on commit ef1a9fd

Please sign in to comment.