diff --git a/README.md b/README.md
index 1ce123464..c6b6ca399 100644
--- a/README.md
+++ b/README.md
@@ -8,9 +8,16 @@ Aider makes it easy to
proposed by GPT without copy/pasting.
It also has features that [help GPT-4 understand and modify larger codebases](https://aider.chat/docs/ctags.html).
-
+
+
+
+
+
+
+
+
+
-- [Discord](https://discord.gg/SqzfE6bw)
- [Getting started](#getting-started)
- [Example chat transcripts](#example-chat-transcripts)
- [Features](#features)
diff --git a/aider/__init__.py b/aider/__init__.py
index 8ea1e3450..0dffdf106 100644
--- a/aider/__init__.py
+++ b/aider/__init__.py
@@ -1 +1 @@
-__version__ = "0.9.0-dev"
+__version__ = "0.9.1-dev"
diff --git a/aider/versioncheck.py b/aider/versioncheck.py
index c16a0d4b6..3c4ff2811 100644
--- a/aider/versioncheck.py
+++ b/aider/versioncheck.py
@@ -13,9 +13,7 @@ def check_version(print_cmd):
latest_version = data["info"]["version"]
current_version = aider.__version__
- if packaging.version.parse(latest_version) <= packaging.version.parse(
- current_version
- ):
+ if packaging.version.parse(latest_version) <= packaging.version.parse(current_version):
return
print_cmd(f"Newer version v{latest_version} is available. To upgrade, run:")
diff --git a/scripts/versionbump.py b/scripts/versionbump.py
index 86549077e..027e15658 100644
--- a/scripts/versionbump.py
+++ b/scripts/versionbump.py
@@ -19,6 +19,7 @@ def main():
raise ValueError(f"Invalid version format, must be x.y.z: {new_version_str}")
new_version = version.parse(new_version_str)
+ incremented_version = version.Version(f"{new_version.major}.{new_version.minor}.{new_version.micro + 1}")
with open("aider/__init__.py", "r") as f:
content = f.read()
@@ -51,7 +52,7 @@ def main():
subprocess.run(cmd, check=True)
updated_dev_content = re.sub(
- r'__version__ = ".+?"', f'__version__ = "{new_version}-dev"', content
+ r'__version__ = ".+?"', f'__version__ = "{incremented_version}-dev"', content
)
print()