Skip to content

Commit

Permalink
Update client native publish logic
Browse files Browse the repository at this point in the history
  • Loading branch information
TharmiganK committed Jun 18, 2024
1 parent 819fca4 commit b16c0c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openapi-client-native/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ publishing {

tasks.withType(PublishToMavenRepository) {
onlyIf {
(repository == publishing.repositories.GitHub && publication == publishing.publications.GitHub) ||
(repository == publishing.repositories.WSO2Nexus && publication == publishing.publications.WSO2Nexus
&& (clientNativeVersion.endsWith('-SNAPSHOT') || clientNativePublish))
(clientNativeVersion.endsWith('-SNAPSHOT') || clientNativePublish) &&
((repository == publishing.repositories.GitHub && publication == publishing.publications.GitHub) ||
(repository == publishing.repositories.WSO2Nexus && publication == publishing.publications.WSO2Nexus))
}
}

Expand Down

0 comments on commit b16c0c9

Please sign in to comment.