From 21c22fe04a3c114562bf1528650678a097e4481d Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Sat, 20 Oct 2018 18:32:06 +0200 Subject: [PATCH] Bump version to 1.10.0-dev --- esphomeyaml/const.py | 6 +++--- esphomeyaml/core_config.py | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/esphomeyaml/const.py b/esphomeyaml/const.py index 1b09e18390..1858110a7c 100644 --- a/esphomeyaml/const.py +++ b/esphomeyaml/const.py @@ -1,11 +1,11 @@ """Constants used by esphomeyaml.""" MAJOR_VERSION = 1 -MINOR_VERSION = 9 -PATCH_VERSION = '0b1' +MINOR_VERSION = 10 +PATCH_VERSION = '0-dev' __short_version__ = '{}.{}'.format(MAJOR_VERSION, MINOR_VERSION) __version__ = '{}.{}'.format(__short_version__, PATCH_VERSION) -ESPHOMELIB_VERSION = '1.9.0b1' +ESPHOMELIB_VERSION = 'dev' ESP_PLATFORM_ESP32 = 'ESP32' ESP_PLATFORM_ESP8266 = 'ESP8266' diff --git a/esphomeyaml/core_config.py b/esphomeyaml/core_config.py index b236d7cb2b..57f15f751b 100644 --- a/esphomeyaml/core_config.py +++ b/esphomeyaml/core_config.py @@ -46,6 +46,8 @@ def validate_board(value): def validate_simple_esphomelib_version(value): value = cv.string_strict(value) if value.upper() == 'LATEST': + if ESPHOMELIB_VERSION == 'dev': + return validate_simple_esphomelib_version('dev') return { CONF_REPOSITORY: LIBRARY_URI_REPO, CONF_TAG: 'v' + ESPHOMELIB_VERSION, @@ -53,7 +55,7 @@ def validate_simple_esphomelib_version(value): elif value.upper() == 'DEV': return { CONF_REPOSITORY: LIBRARY_URI_REPO, - CONF_BRANCH: 'master' + CONF_BRANCH: 'dev' } elif VERSION_REGEX.match(value) is not None: return {