Skip to content

Commit

Permalink
Fix nexus publish issues
Browse files Browse the repository at this point in the history
  • Loading branch information
TharmiganK committed Jun 19, 2024
1 parent 297d6b8 commit 05d924d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openapi-client-native/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ publishing {

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

0 comments on commit 05d924d

Please sign in to comment.