Last minute fix

This commit is contained in:
Telesphoreo 2022-02-22 01:33:15 -06:00
parent 05200178ac
commit f0f44c9514
1 changed files with 2 additions and 0 deletions

View File

@ -100,6 +100,8 @@ tasks {
if (System.getenv("plex_repo_user") != null && System.getenv("plex_repo_pass") != null) {
if (getVersion().toString().toLowerCase().endsWith("-snapshot")) {
dependsOn(publishPlexSnapshotsPublicationToMaven2Repository)
} else {
dependsOn(publishPlexReleasesPublicationToMavenRepository)
}
}
}