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

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


The following commit(s) were added to refs/heads/master by this push:
     new 530a91b  docs: release ingress 1.1 (#412)
530a91b is described below

commit 530a91b70cf08cca2b9d7ebf7bfaf291b0c40a47
Author: kv <[email protected]>
AuthorDate: Wed Jul 14 12:48:52 2021 +0800

    docs: release ingress 1.1 (#412)
    
    Co-authored-by: 琚致远 <[email protected]>
---
 sync-docs.js                 | 4 ++--
 website/docusaurus.config.js | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sync-docs.js b/sync-docs.js
index b52bf8d..d27c03a 100644
--- a/sync-docs.js
+++ b/sync-docs.js
@@ -160,7 +160,7 @@ const findReleaseVersions = (project) => {
     .toString();
   const versions = [];
   branchRaw.split("\n").map((b) => {
-    if (b.includes("release") === false) return;
+    if (b.includes("release/") === false) return;
     const version = b.trim().replace("origin/release/", "");
     if (version === "test") return;
     versions.push(version);
@@ -201,7 +201,7 @@ const main = () => {
     const projectName = project.name;
     const versions = findReleaseVersions(projectName);
     versions.map((version) => {
-      log(`Versioning for ${project} version: ${version}`);
+      log(`Versioning for ${projectName} version: ${version}`);
       childProcess.execSync(`git checkout -f origin/release/${version}`, {
         cwd: `./tmp/${projectName}`,
       });
diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js
index 65d6121..326ffa8 100644
--- a/website/docusaurus.config.js
+++ b/website/docusaurus.config.js
@@ -45,8 +45,8 @@ module.exports = {
         shape: "hexagon",
         color: "#2563EB",
         githubRepo: "apache/apisix-ingress-controller",
-        version: "0.5.0",
-        releaseDate: "2021-04-11",
+        version: "1.1.0",
+        releaseDate: "2021-07-13",
         firstDocPath: "/getting-started",
       },
       {
@@ -125,8 +125,8 @@ module.exports = {
         shape: "hexagon",
         color: "#2563EB",
         githubRepo: "apache/apisix-ingress-controller",
-        version: "1.0.0",
-        releaseDate: "2021-06-16",
+        version: "1.1.0",
+        releaseDate: "2021-07-13",
         firstDocPath: "/getting-started",
       }
     ],

Reply via email to