Merge branch 'main' into refactor-repo

This commit is contained in:
Paul Gauthier 2023-07-24 15:22:20 -03:00
commit 256dd7bbd9
3 changed files with 4 additions and 3 deletions

View file

@ -1,8 +1,9 @@
# Release history
### main branch on GitHub
### v0.10.1
- /add and /drop always use paths relative to the git root
- Encourage GPT to use language like "add files to the chat" to ask users for permission to edit them.
### v0.10.0

View file

@ -1 +1 @@
__version__ = "0.10.1-dev"
__version__ = "0.10.2-dev"

View file

@ -26,7 +26,7 @@ def main():
with open("aider/__init__.py", "r") as f:
content = f.read()
current_version = re.search(r'__version__ = "(.+?)"', content).group(1).split("-dev")[0]
current_version = re.search(r'__version__ = "(.+?)"', content).group(1)
if new_version <= version.parse(current_version):
raise ValueError(
f"New version {new_version} must be greater than the current version {current_version}"