Update createVersion tag for production releases

This commit is contained in:
emelko
2021-01-08 23:13:50 +01:00
parent 199aa198d1
commit 8e73a64397
+2 -2
View File
@@ -25,10 +25,10 @@ module.exports = () => {
const mm = leftPad(today.getMonth() + 1, 2, '0') const mm = leftPad(today.getMonth() + 1, 2, '0')
const d = today.getDate() const d = today.getDate()
if (attempt === 0) { if (attempt === 0) {
return `0.${yy}${mm}.${d}-beta` return `1.${yy}${mm}.${d}`
} else { } else {
const letter = String.fromCharCode(96 + attempt) // 0=a, 1=b, 2=c, ... const letter = String.fromCharCode(96 + attempt) // 0=a, 1=b, 2=c, ...
return `0.${yy}${mm}.${d}-beta.${letter}` return `1.${yy}${mm}.${d}.${letter}`
} }
} }