Bumped version to 20181107.0

This commit is contained in:
Paulus Schoutsen
2018-11-07 10:31:22 +01:00
parent 9c735bb088
commit c1e3259b08
2 changed files with 5 additions and 3 deletions

View File

@@ -8,9 +8,11 @@ function patch(version) {
return `${parts[0]}.${Number(parts[1]) + 1}`;
}
function today(version) {
function today() {
const now = new Date();
return `${now.getFullYear()}${now.getMonth() + 1}${now.getDate()}.0`;
return `${now.getFullYear()}${now.getMonth() + 1}${String(
now.getDate()
).padStart(2, "0")}.0`;
}
const methods = {