[ci skip] fix when api key isn't set

This commit is contained in:
creeper123123321 2020-08-05 08:29:03 -03:00
parent cac25115ab
commit 8653889fea

View File

@ -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<com.matthewprenger.cursegradle.CurseProject> {
id = "391298"
changelog = "A changelog can be found at https://github.com/ViaVersion/ViaFabric/commits"