diff --git a/script/version_bump.js b/script/version_bump.js index 73ee8fb634..e38ff4dae6 100755 --- a/script/version_bump.js +++ b/script/version_bump.js @@ -10,9 +10,10 @@ function patch(version) { function today() { const now = new Date(); - return `${now.getFullYear()}${now.getMonth() + 1}${String( - now.getDate() - ).padStart(2, "0")}.0`; + return `${now.getFullYear()}${String(now.getMonth() + 1).padStart( + 2, + "0" + )}${String(now.getDate()).padStart(2, "0")}.0`; } const methods = { @@ -51,4 +52,4 @@ async function main(args) { console.log(stdout); } -main(process.argv.slice(2)); +main(process.argv.slice(2)).catch(console.error); diff --git a/setup.py b/setup.py index 448d14ef3b..2e7e3fb2a4 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup( name="home-assistant-frontend", - version="2019109.0", + version="20190109.0", description="The Home Assistant frontend", url="https://github.com/home-assistant/home-assistant-polymer", author="The Home Assistant Authors",