diff --git a/.scripts/covector/sync-cli-metadata.js b/.scripts/covector/sync-cli-metadata.js index 3a0ebf7e7..f5d735b11 100644 --- a/.scripts/covector/sync-cli-metadata.js +++ b/.scripts/covector/sync-cli-metadata.js @@ -36,8 +36,13 @@ switch (bump) { const inc = (version) => { const v = version.split('.') - const n = v[index] - v[index] = String(Number(n) + 1) + for (let i = 0; i < v.length; i++) { + if (i === index) { + v[i] = String(Number(v[i]) + 1) + } else if (i > index) { + v[i] = 0 + } + } return v.join('.') } diff --git a/tooling/cli/metadata.json b/tooling/cli/metadata.json index f982796ac..129f3814d 100644 --- a/tooling/cli/metadata.json +++ b/tooling/cli/metadata.json @@ -1,8 +1,8 @@ { "cli.js": { - "version": "1.1.5", + "version": "1.1.0", "node": ">= 10.0.0" }, - "tauri": "1.1.5", + "tauri": "1.1.0", "tauri-build": "1.1.4" }