Bump version to 1.10.0-dev

This commit is contained in:
Otto Winter 2018-10-20 18:32:06 +02:00
parent 70206df8b5
commit 21c22fe04a
No known key found for this signature in database
GPG key ID: DB66C0BE6013F97E
2 changed files with 6 additions and 4 deletions

View file

@ -1,11 +1,11 @@
"""Constants used by esphomeyaml.""" """Constants used by esphomeyaml."""
MAJOR_VERSION = 1 MAJOR_VERSION = 1
MINOR_VERSION = 9 MINOR_VERSION = 10
PATCH_VERSION = '0b1' PATCH_VERSION = '0-dev'
__short_version__ = '{}.{}'.format(MAJOR_VERSION, MINOR_VERSION) __short_version__ = '{}.{}'.format(MAJOR_VERSION, MINOR_VERSION)
__version__ = '{}.{}'.format(__short_version__, PATCH_VERSION) __version__ = '{}.{}'.format(__short_version__, PATCH_VERSION)
ESPHOMELIB_VERSION = '1.9.0b1' ESPHOMELIB_VERSION = 'dev'
ESP_PLATFORM_ESP32 = 'ESP32' ESP_PLATFORM_ESP32 = 'ESP32'
ESP_PLATFORM_ESP8266 = 'ESP8266' ESP_PLATFORM_ESP8266 = 'ESP8266'

View file

@ -46,6 +46,8 @@ def validate_board(value):
def validate_simple_esphomelib_version(value): def validate_simple_esphomelib_version(value):
value = cv.string_strict(value) value = cv.string_strict(value)
if value.upper() == 'LATEST': if value.upper() == 'LATEST':
if ESPHOMELIB_VERSION == 'dev':
return validate_simple_esphomelib_version('dev')
return { return {
CONF_REPOSITORY: LIBRARY_URI_REPO, CONF_REPOSITORY: LIBRARY_URI_REPO,
CONF_TAG: 'v' + ESPHOMELIB_VERSION, CONF_TAG: 'v' + ESPHOMELIB_VERSION,
@ -53,7 +55,7 @@ def validate_simple_esphomelib_version(value):
elif value.upper() == 'DEV': elif value.upper() == 'DEV':
return { return {
CONF_REPOSITORY: LIBRARY_URI_REPO, CONF_REPOSITORY: LIBRARY_URI_REPO,
CONF_BRANCH: 'master' CONF_BRANCH: 'dev'
} }
elif VERSION_REGEX.match(value) is not None: elif VERSION_REGEX.match(value) is not None:
return { return {