mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 05:24:53 +01:00
Bump version to 1.10.0-dev
This commit is contained in:
parent
70206df8b5
commit
21c22fe04a
2 changed files with 6 additions and 4 deletions
|
@ -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'
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue