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/10/11 02:54:33 UTC

[echarts] 01/01: chore: fix version patch number of next build

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

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

commit 9d15015ffc1462b03d014f3ae4f2a4f3412310d9
Author: pissang <bm...@gmail.com>
AuthorDate: Mon Oct 11 10:53:45 2021 +0800

    chore: fix version patch number of next build
---
 build/prepareNightly.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/build/prepareNightly.js b/build/prepareNightly.js
index 44d20cc..0dccab4 100644
--- a/build/prepareNightly.js
+++ b/build/prepareNightly.js
@@ -40,6 +40,7 @@ function updateVersion(version) {
         if (isNext) {
             // Increase minor version for next branch.
             minor++;
+            patch = 0;
         }
         else {
             // Increase main version for master branch.

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