mirror of
https://github.com/tauri-apps/tauri.git
synced 2025-01-03 00:21:34 +03:00
fix(cli): wrong metadata
This commit is contained in:
parent
0967da262e
commit
2954f6d252
@ -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('.')
|
||||
}
|
||||
|
||||
|
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user