From ebc48f2ec8b4904e1979ac48d05030317e0bee1b Mon Sep 17 00:00:00 2001 From: Vortezz Date: Sat, 24 Aug 2024 19:10:12 +0200 Subject: [PATCH] fix: publish --- build.gradle.kts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 8e99ed0..2014f66 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -4,7 +4,7 @@ plugins { id("maven-publish") } -val isRelease = System.getenv().containsKey("RELEASE") +val isRelease = System.getenv("RELEASE") == "true" val nexusUser = System.getenv()["NEXUS_USER"] val nexusPass = System.getenv()["NEXUS_PASS"] @@ -18,7 +18,7 @@ repositories { maven { name = "ekalia" - url = uri("https://nexus.ekalia.fr/repository/maven-release/") + url = uri("https://nexus.ekalia.fr/repository/maven-releases/") } } @@ -30,7 +30,7 @@ publishing { } repositories { - maven("https://nexus.ekalia.fr/repository/maven-${if (isRelease) "release" else "snapshots"}/") { + maven("https://nexus.ekalia.fr/repository/maven-${if (isRelease) "releases" else "snapshots"}/") { if (isInCi) { credentials { username = nexusUser