From c1e3259b081b0a63409e878c06b414e0a7692b56 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 7 Nov 2018 10:31:22 +0100 Subject: [PATCH] Bumped version to 20181107.0 --- script/version_bump.js | 6 ++++-- setup.py | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/script/version_bump.js b/script/version_bump.js index 87cb4be368..73ee8fb634 100755 --- a/script/version_bump.js +++ b/script/version_bump.js @@ -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 = { diff --git a/setup.py b/setup.py index 48e8e5b0ef..138ec98960 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup( name="home-assistant-frontend", - version="2018117.0", + version="20181107.0", description="The Home Assistant frontend", url="https://github.com/home-assistant/home-assistant-polymer", author="The Home Assistant Authors",