diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0673d84..8f6f824 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,7 +40,7 @@ jobs: pip install coverage coverage run -m pytest tests/ - name: Upload coverage to Codecov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} flags: unittests diff --git a/askchat/__init__.py b/askchat/__init__.py index 42f2091..a39ee35 100644 --- a/askchat/__init__.py +++ b/askchat/__init__.py @@ -2,7 +2,7 @@ __author__ = """Rex Wang""" __email__ = '1073853456@qq.com' -__version__ = '1.2.0' +__version__ = '1.2.1' import asyncio from pathlib import Path @@ -16,7 +16,7 @@ MAIN_ENV_PATH = Path.home() / '.askchat' / '.env' ENV_PATH = Path.home() / '.askchat' / 'envs' -raw_env_text = f""""# Description: Env file for askchat. +raw_env_text = f"""# Description: Env file for askchat. # Current version: {__version__} # The base url of the API (with suffix /v1) diff --git a/setup.py b/setup.py index 859d6cd..70df16e 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages -VERSION = '1.2.0' +VERSION = '1.2.1' with open('README.md') as readme_file: readme = readme_file.read()