Эх сурвалжийг харах

Fix CF Publish

Signed-off-by: shedaniel <daniel@shedaniel.me>
shedaniel 4 жил өмнө
parent
commit
d0972fbe57

+ 2 - 2
fabric/build.gradle

@@ -85,8 +85,8 @@ publishing {
 }
 
 curseforge {
-    if (project.hasProperty("curse_api_key") || System.getenv("curse_api_key") != null) {
-        apiKey = project.hasProperty("curse_api_key") ? project.property("curse_api_key") : System.getenv("curse_api_key")
+    if (project.hasProperty("CURSE_API_KEY") || System.getenv("CURSE_API_KEY") != null) {
+        apiKey = project.hasProperty("CURSE_API_KEY") ? project.property("CURSE_API_KEY") : System.getenv("CURSE_API_KEY")
         project {
             id = "419697"
             releaseType = "release"

+ 2 - 2
forge/build.gradle

@@ -86,8 +86,8 @@ publishing {
 }
 
 curseforge {
-    if (project.hasProperty("curse_api_key") || System.getenv("curse_api_key") != null) {
-        apiKey = project.hasProperty("curse_api_key") ? project.property("curse_api_key") : System.getenv("curse_api_key")
+    if (project.hasProperty("CURSE_API_KEY") || System.getenv("CURSE_API_KEY") != null) {
+        apiKey = project.hasProperty("CURSE_API_KEY") ? project.property("CURSE_API_KEY") : System.getenv("CURSE_API_KEY")
         project {
             id = "419699"
             releaseType = "release"