You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2021/01/22 12:14:54 UTC

[echarts-www] branch v4 updated: add release command

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

shenyi pushed a commit to branch v4
in repository https://gitbox.apache.org/repos/asf/echarts-www.git


The following commit(s) were added to refs/heads/v4 by this push:
     new d500e16  add release command
d500e16 is described below

commit d500e1658bf8dd02e868216a009c131dab95be56
Author: pissang <bm...@gmail.com>
AuthorDate: Fri Jan 22 20:14:30 2021 +0800

    add release command
---
 README.md                | 2 +-
 _jade/layouts/basic.jade | 4 ++--
 package.json             | 1 +
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 4c3ffac..295e705 100644
--- a/README.md
+++ b/README.md
@@ -42,5 +42,5 @@ npm run watch:jade
 ## release
 
 ```sh
-sh bin/release.sh --env asf
+npm run release
 ```
diff --git a/_jade/layouts/basic.jade b/_jade/layouts/basic.jade
index 4bdf034..c68ad59 100644
--- a/_jade/layouts/basic.jade
+++ b/_jade/layouts/basic.jade
@@ -69,9 +69,9 @@ html(lang='#{htmlAttrLang}')
 
     #v5-link.alert.alert-warning.alert-dismissible
         if ecWWWLang == 'en'
-            span Back to the #[a(id="a2", href="https://echarts.apache.org/zh/index.html") latest website.]
+            span Back to the #[a(href="https://echarts.apache.org/zh/index.html") latest website.]
         else
-            span 返回 #[a(id="a1", href="https://echarts.apache.org/zh/index.html") 最新的官网]
+            span 返回 #[a(href="https://echarts.apache.org/zh/index.html") 最新的官网]
 
         button.close(type="button", data-dismiss="alert", aria-label="Close")
             span(aria-hidden="true") &times;
diff --git a/package.json b/package.json
index c28e492..c4f0f55 100644
--- a/package.json
+++ b/package.json
@@ -5,6 +5,7 @@
   "scripts": {
     "build": "sh bin/release.sh --env=localsite",
     "localsite": "sh bin/release.sh --env=localsite",
+    "release": "sh bin/release.sh --env=asf",
     "localsite:onlynext": "sh bin/release.sh --env=localsite --onlynext",
     "dev:all": "npm run localsite",
     "dev": "node bin/build.js --env=localsite",


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org