Fix version bump

This commit is contained in:
Paulus Schoutsen 2019-01-09 15:29:01 -08:00
parent 417ffde3e8
commit bda5c3a0c9
2 changed files with 6 additions and 5 deletions

View File

@ -10,9 +10,10 @@ function patch(version) {
function today() { function today() {
const now = new Date(); const now = new Date();
return `${now.getFullYear()}${now.getMonth() + 1}${String( return `${now.getFullYear()}${String(now.getMonth() + 1).padStart(
now.getDate() 2,
).padStart(2, "0")}.0`; "0"
)}${String(now.getDate()).padStart(2, "0")}.0`;
} }
const methods = { const methods = {
@ -51,4 +52,4 @@ async function main(args) {
console.log(stdout); console.log(stdout);
} }
main(process.argv.slice(2)); main(process.argv.slice(2)).catch(console.error);

View File

@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup( setup(
name="home-assistant-frontend", name="home-assistant-frontend",
version="2019109.0", version="20190109.0",
description="The Home Assistant frontend", description="The Home Assistant frontend",
url="https://github.com/home-assistant/home-assistant-polymer", url="https://github.com/home-assistant/home-assistant-polymer",
author="The Home Assistant Authors", author="The Home Assistant Authors",