Procházet zdrojové kódy

Fix CF Publish

Signed-off-by: shedaniel <daniel@shedaniel.me>
shedaniel před 4 roky
rodič
revize
d0972fbe57
2 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 2 2
      fabric/build.gradle
  2. 2 2
      forge/build.gradle

+ 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"