From 8653889fea84a4bc64933ee3f8daaad8d305bf91 Mon Sep 17 00:00:00 2001 From: creeper123123321 <7974274+creeper123123321@users.noreply.github.com> Date: Wed, 5 Aug 2020 08:29:03 -0300 Subject: [PATCH] [ci skip] fix when api key isn't set --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 3165d37..2fbfc0a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -78,7 +78,7 @@ if (!System.getenv()["curse_api_key"].isNullOrBlank() && branch.startsWith("mc-" } curseforge { - apiKey = System.getenv()["curse_api_key"] + apiKey = System.getenv()["curse_api_key"] ?: "undefined" project(closureOf { id = "391298" changelog = "A changelog can be found at https://github.com/ViaVersion/ViaFabric/commits"