From 19b4d929e2682bf76bf0fd3c75151f1a8813b1f6 Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Thu, 4 Jul 2019 00:22:24 +0200 Subject: [PATCH] Add bump2version (to avoid mistakes like pushing wrong tag names) --- .bumpversion.cfg | 7 +++++++ pyproject.toml | 4 ++++ 2 files changed, 11 insertions(+) create mode 100644 .bumpversion.cfg diff --git a/.bumpversion.cfg b/.bumpversion.cfg new file mode 100644 index 0000000..292d974 --- /dev/null +++ b/.bumpversion.cfg @@ -0,0 +1,7 @@ +[bumpversion] +current_version = 1.7.1 +commit = True +tag = True + +[bumpversion:file:fbchat/__init__.py] + diff --git a/pyproject.toml b/pyproject.toml index e309e40..0621021 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,3 +60,7 @@ docs = [ lint = [ "black", ] +tools = [ + # Fork of bumpversion, see https://github.com/c4urself/bump2version + "bump2version~=0.5.0", +]