commit: cbec045dceae01e78e2d0fc2328750241f153675
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 25 19:24:53 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Oct 25 19:24:53 2023 +0000
URL:
https://gitweb.gentoo.org/proj/emacs-ebuild-snippets.git/commit/?id=cbec045d
add pyproject.toml file
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
pyproject.toml | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000..fe2a6e7
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,33 @@
+[tool.tbump.version]
+current = "2.1.0"
+regex = '''
+ (?P<major>\d+)
+ \.
+ (?P<minor>\d+)
+ \.
+ (?P<patch>\d+)
+ '''
+
+[tool.tbump.git]
+message_template = "bump to {new_version}"
+tag_template = "{new_version}"
+
+[[tool.tbump.file]]
+src = "./VERSION"
+search = "{current_version}"
+
+[[tool.tbump.file]]
+src = "./VERSION"
+search = "{current_version}"
+
+[[tool.tbump.file]]
+src = "./ebuild-snippets.el"
+search = ";; Version: {current_version}"
+
+[[tool.tbump.file]]
+src = "./ebuild-snippets.el"
+search = "defconst ebuild-snippets-version \"{current_version}\""
+
+[[tool.tbump.before_commit]]
+name = "execute make all"
+cmd = "make all"