Unverified Commit 10cbc2b1 authored by Tong Gao's avatar Tong Gao Committed by GitHub
Browse files

Bump version to 0.1.2 (#190)

parent bf79ff1c
......@@ -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 ---------------------------------------------------
......
__version__ = '0.1.0'
__version__ = '0.1.2'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment