Bump version to 0.1.2 (#190)

This commit is contained in:
Tong Gao 2023-08-11 17:43:14 +08:00 committed by GitHub
parent bf79ff1c6d
commit 10cbc2b175
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 13 deletions

View File

@ -27,14 +27,16 @@ copyright = '2023, OpenCompass'
author = 'OpenCompass Authors'
# The full version, including alpha/beta/rc tags
# version_file = '../../opencompass/version.py'
version_file = '../../opencompass/__init__.py'
# def get_version():
# with open(version_file, 'r') as f:
# exec(compile(f.read(), version_file, 'exec'))
# return locals()['__version__']
release = '1.0.0'
def get_version():
with open(version_file, 'r') as f:
exec(compile(f.read(), version_file, 'exec'))
return locals()['__version__']
release = get_version()
# -- General configuration ---------------------------------------------------

View File

@ -27,14 +27,16 @@ copyright = '2023, OpenCompass'
author = 'OpenCompass Authors'
# The full version, including alpha/beta/rc tags
# version_file = '../../opencompass/version.py'
version_file = '../../opencompass/__init__.py'
# def get_version():
# with open(version_file, 'r') as f:
# exec(compile(f.read(), version_file, 'exec'))
# return locals()['__version__']
release = '0.5.0'
def get_version():
with open(version_file, 'r') as f:
exec(compile(f.read(), version_file, 'exec'))
return locals()['__version__']
release = get_version()
# -- General configuration ---------------------------------------------------

View File

@ -1 +1 @@
__version__ = '0.1.0'
__version__ = '0.1.2'