diff --git a/Makefile b/Makefile index 9054de2b8..2af8de084 100644 --- a/Makefile +++ b/Makefile @@ -17,4 +17,4 @@ release: clean force_release: clean git push --tags origin main python3 setup.py sdist bdist_wheel - twine upload 27C50E7F590947D7273A741E85194C08421980C9 dist/* \ No newline at end of file + twine upload dist/* diff --git a/VERSION b/VERSION index ab6c88e86..05b41fb67 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.1.28 +3.1.29 diff --git a/doc/source/changes.rst b/doc/source/changes.rst index e4a22a5d7..d36194c86 100644 --- a/doc/source/changes.rst +++ b/doc/source/changes.rst @@ -2,6 +2,14 @@ Changelog ========= +3.1.29 +====== + +- Make the git.__version__ re-appear. + +See the following for all changes. +https://github.com/gitpython-developers/gitpython/milestone/59?closed=1 + 3.1.28 ====== diff --git a/setup.py b/setup.py index 5494cf484..daad454d8 100755 --- a/setup.py +++ b/setup.py @@ -47,7 +47,7 @@ def _stamp_version(filename: str) -> None: with open(filename, "r") as f: for line in f: if "__version__ =" in line: - line = line.replace("'git'", "'%s'" % VERSION) + line = line.replace("\"git\"", "'%s'" % VERSION) found = True out.append(line) except OSError: