Lastest release script version

This commit is contained in:
John Wellbelove 2022-04-09 13:32:07 +02:00
parent dbfeee2c2a
commit 958bc84e18
3 changed files with 22 additions and 6 deletions

View File

@ -1,7 +1,6 @@
{
"name": "Embedded Template Library - Arduino",
"version": "20.27.2
",
"version": "20.27.2",
"authors": {
"name": "John Wellbelove",
"email": "john.wellbelove@etlcpp.com"
@ -17,6 +16,24 @@
"build": {
"includeDir": "include"
},
"export": {
"include": [
"include",
"examples",
"LICENSE",
"README.md"
],
"exclude": [
"include/etl/experimental",
"include/etl/deprecated",
"**/__vm",
"**/.vs",
"**/*.filters",
"**/*.log",
"**/*.tmp"
]
},
"platforms": "*",
"frameworks": "*"
}

View File

@ -1,6 +1,5 @@
name=Embedded Template Library - Arduino
version=20.27.2
author= John Wellbelove <john.wellbelove@etlcpp.com>
maintainer=John Wellbelove <john.wellbelove@etlcpp.com>
license=MIT

View File

@ -123,11 +123,11 @@ def get_version():
print('version_file = ', version_file)
with open(version_file) as f:
version = f.read()
version = f.read().splitlines()
elements = version.split('.', 3)
elements = version[0].split('.', 3)
return version, elements[0], elements[1], elements[2]
return version[0], elements[0], elements[1], elements[2]
#------------------------------------------------------------------------------
def update_version_h():