Skip to content

Commit 28c57d1

Browse files
committed
commit and tag using bump-my-version
1 parent d7dabbc commit 28c57d1

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.bumpversion.toml

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
[tool.bumpversion]
22
current_version = "0.1.0"
3+
bump = true
4+
commit = true
35

46
[[tool.bumpversion.files]]
57
filename = "pyproject.toml"

Makefile

-4
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,3 @@ PART ?= "minor"
3232
bump-version:
3333
bump-my-version bump ${PART}
3434
@echo now at version $$(bump-my-version show current_version)
35-
# bump-my-version enforces a clean git workdir, so this is fine
36-
git add .
37-
git commit -m "v$$(bump-my-version show current_version)"
38-
git tag v$$(bump-my-version show current_version)

0 commit comments

Comments
 (0)