Skip to content
Snippets Groups Projects
Commit 64e01a27 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

fix(CI) Fix android version (remove starting '0')

parent 715001a2
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ function standardizeVersionForAndroid(version) {
v.num = !v.num ? '99' : v.num;
return Object.values(v)
.filter(i => !isNaN(i))
.map(i => (parseInt(i) < 10) ? '0' + i : i)
.map((i, index) => (index !== 0 && parseInt(i) < 10) ? ('0' + i) : i)
.join('');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment