make it work for macs

This commit is contained in:
Telesphoreo 2022-02-21 19:32:11 -06:00
parent e446002567
commit 52111e5d8d

View File

@ -81,15 +81,15 @@ tasks {
}
task snapshotPublish {
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) {
System.out.println("Publishing")
publishing {
repositories {
maven {
url = "https://nexus.telesphoreo.me/repository/plex-snapshots/"
credentials {
username = System.getenv("plex-repo-user")
password = System.getenv("plex-repo-pass")
username = System.getenv("plex_repo_user")
password = System.getenv("plex_repo_pass")
}
}
}
@ -99,15 +99,15 @@ task snapshotPublish {
}
task releasePublish {
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) {
System.out.println("Publishing")
publishing {
repositories {
maven {
url = "https://nexus.telesphoreo.me/repository/plex-releases/"
credentials {
username = System.getenv("plex-repo-user")
password = System.getenv("plex-repo-pass")
username = System.getenv("plex_repo_user")
password = System.getenv("plex_repo_pass")
}
}
}