mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 01:04:59 +00:00
Merge branch 'main' into refactor-repo
This commit is contained in:
commit
256dd7bbd9
3 changed files with 4 additions and 3 deletions
|
@ -1,8 +1,9 @@
|
||||||
# Release history
|
# Release history
|
||||||
|
|
||||||
### main branch on GitHub
|
### v0.10.1
|
||||||
|
|
||||||
- /add and /drop always use paths relative to the git root
|
- /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
|
### v0.10.0
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
__version__ = "0.10.1-dev"
|
__version__ = "0.10.2-dev"
|
||||||
|
|
|
@ -26,7 +26,7 @@ def main():
|
||||||
with open("aider/__init__.py", "r") as f:
|
with open("aider/__init__.py", "r") as f:
|
||||||
content = f.read()
|
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):
|
if new_version <= version.parse(current_version):
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
f"New version {new_version} must be greater than the current version {current_version}"
|
f"New version {new_version} must be greater than the current version {current_version}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue