summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Lorey <git@karllorey.com>2020-09-27 14:34:56 +0200
committerKarl Lorey <git@karllorey.com>2020-09-27 14:34:56 +0200
commit41624b9d5b99232112dc450791bc736740b54844 (patch)
tree25d832c360abed41db13f2bb279de9aabd31a7ad
parent06a958000e17da451c3e32455b63738ae7a7e4db (diff)
Add upcoming headline to HISTORY.rst and add bump2version rule
-rw-r--r--HISTORY.rst5
-rw-r--r--setup.cfg4
2 files changed, 9 insertions, 0 deletions
diff --git a/HISTORY.rst b/HISTORY.rst
index 66d56be..136ac54 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -3,6 +3,11 @@ History
=======
------------------
+UPCOMING
+------------------
+
+
+------------------
0.1.2 (2020-09-27)
------------------
diff --git a/setup.cfg b/setup.cfg
index 3cd6a53..039af9e 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -3,6 +3,10 @@ current_version = 0.1.2
commit = True
tag = True
+[bumpversion:file:HISTORY.rst]
+search = UPCOMING
+replace = {new_version} ({now:%%Y-%%m-%%d})
+
[bumpversion:file:setup.py]
search = version="{current_version}"
replace = version="{new_version}"