瀏覽代碼

agregue grafana.env, falla

Luciano Andrade 7 年之前
父節點
當前提交
3ea2871879
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      tools/src/Release.php

+ 2 - 1
tools/src/Release.php

@@ -315,6 +315,8 @@ class Release extends Command
 
 
                 copy(getcwd() . "/docker-compose.service", $dObj->dirExists()->realpath()->getPath() . "/docker-compose.service");
                 copy(getcwd() . "/docker-compose.service", $dObj->dirExists()->realpath()->getPath() . "/docker-compose.service");
 
 
+                copy(getcwd() . "/grafana.env", $dObj->dirExists()->realpath()->getPath() . "/grafana.env");
+
 
 
             } catch (\Throwable $error) {
             } catch (\Throwable $error) {
 	        throw $error;
 	        throw $error;
@@ -709,7 +711,6 @@ class Release extends Command
 
 
         $this->addJsonEndPoints($composer, $config);
         $this->addJsonEndPoints($composer, $config);
 
 
-        copy(getcwd() . "/grafana.env", $dObj->dirExists()->realpath()->getPath() . "/grafana.env");
     }
     }
 
 
     function addJsonEndPoints(FileFormat2 $composer, $config = array())
     function addJsonEndPoints(FileFormat2 $composer, $config = array())