Skip to content

Commit

Permalink
Merge pull request #1727 from ballerina-platform/client-native-fix
Browse files Browse the repository at this point in the history
Fix client native publish issues
  • Loading branch information
TharmiganK authored Jun 18, 2024
2 parents 767efc9 + 00499a5 commit b0e5775
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 b0e5775

Please sign in to comment.