Last minute fix

This commit is contained in:
Telesphoreo 2022-02-22 01:33:15 -06:00
parent 05200178ac
commit f0f44c9514

View File

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