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/04/28 03:39:46 UTC

[echarts] branch enhance-workflow updated: chore: optimize style of README attention in nightly build

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

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


The following commit(s) were added to refs/heads/enhance-workflow by this push:
     new e922c07  chore: optimize style of README attention in nightly build
e922c07 is described below

commit e922c0743ec524b40a3a479d50fc7c4e7c1f3679
Author: pissang <bm...@gmail.com>
AuthorDate: Wed Apr 28 11:38:59 2021 +0800

    chore: optimize style of README attention in nightly build
---
 build/prepareNightly.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/build/prepareNightly.js b/build/prepareNightly.js
index e44016e..442d3d5 100644
--- a/build/prepareNightly.js
+++ b/build/prepareNightly.js
@@ -48,10 +48,10 @@ fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2), 'utf-8')
 
 
 const readmePath = __dirname + '/../README.md';
-const readmeAttention = `<div style="color:red;font-weight:bold;">
-<p style="font-size:22px;text-transform:uppercase">⚠️ Attention Please</p>
-<p style="font-size:16px">This is nightly build of Apache ECharts. Please DON't use it in your production environment.</p>
-</div>`;
+const readmeAttention = `<h3>
+<p><em>⚠️ ATTENTION PLEASE</em></p>
+<p><em>This is nightly build of Apache ECharts. Please DON't use it in your production environment.</em></p>
+</h3>`;
 const readmeContent = fs.readFileSync(readmePath, 'utf-8');
 if (!readmeContent.includes(readmeAttention)) {
     fs.writeFileSync(readmePath, `

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