You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by zh...@apache.org on 2022/12/12 10:09:57 UTC

[dolphinscheduler-website] branch master updated: [Fix] Add LICENSE and .asf.yaml(#851)

This is an automated email from the ASF dual-hosted git repository.

zhongjiajie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git


The following commit(s) were added to refs/heads/master by this push:
     new b1b8e477b4 [Fix] Add LICENSE and .asf.yaml(#851)
b1b8e477b4 is described below

commit b1b8e477b4141ca311ffd5c531e64cd1e36ec752
Author: Amy0104 <wa...@apache.org>
AuthorDate: Mon Dec 12 18:09:51 2022 +0800

    [Fix] Add LICENSE and .asf.yaml(#851)
---
 .gitignore          | 2 ++
 scripts/generate.js | 3 +++
 2 files changed, 5 insertions(+)

diff --git a/.gitignore b/.gitignore
index 3478364fcc..e61e4b878e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -32,3 +32,5 @@ public/img
 public/fetch
 public/pages
 public/user
+public/.asf.yaml
+public/LICENSE
diff --git a/scripts/generate.js b/scripts/generate.js
index 1857c01826..295b1afd76 100644
--- a/scripts/generate.js
+++ b/scripts/generate.js
@@ -15,6 +15,9 @@ const generate = () => {
   generateDocs();
   generateUser();
   generateFaq();
+
+  fs.copySync(`${BASE}/LICENSE`, `${BASE}/public/LICENSE`);
+  fs.copySync(`${BASE}/.asf.yaml`, `${BASE}/public/.asf.yaml`);
 };
 
 generate();