mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00
Bump version to 0.1.2 (#190)
This commit is contained in:
parent
bf79ff1c6d
commit
10cbc2b175
@ -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 ---------------------------------------------------
|
||||
|
||||
|
@ -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 ---------------------------------------------------
|
||||
|
||||
|
@ -1 +1 @@
|
||||
__version__ = '0.1.0'
|
||||
__version__ = '0.1.2'
|
||||
|
Loading…
Reference in New Issue
Block a user