summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Withers <chris@withers.org>2020-01-29 19:39:12 +0000
committerChris Withers <chris@withers.org>2020-01-29 19:46:36 +0000
commit7fd17496a8b840d6f51dfdc639a8310ec8efa36e (patch)
tree86460b3239994ba2c66f5f374ae936914f6a8957
parent37f664b1dd378d7de97624bcda9b5ee09abc87a7 (diff)
downloadmock-7fd17496a8b840d6f51dfdc639a8310ec8efa36e.tar.gz
bug fix on committing changed version file
-rw-r--r--release.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release.py b/release.py
index 7ef4f16..3fa9406 100644
--- a/release.py
+++ b/release.py
@@ -69,7 +69,7 @@ def git(command):
def git_commit(new_version):
git('rm NEWS.d/*')
git('add CHANGELOG.rst')
- git('add mock/mock.py')
+ git('add mock/__init__.py')
git(f'commit -m "Preparing for {new_version} release."')