Skip to content

Commit

Permalink
commit and tag using bump-my-version
Browse files Browse the repository at this point in the history
  • Loading branch information
luto committed Dec 17, 2023
1 parent d7dabbc commit 28c57d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .bumpversion.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[tool.bumpversion]
current_version = "0.1.0"
bump = true
commit = true

[[tool.bumpversion.files]]
filename = "pyproject.toml"
Expand Down
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,3 @@ PART ?= "minor"
bump-version:
bump-my-version bump ${PART}
@echo now at version $$(bump-my-version show current_version)
# bump-my-version enforces a clean git workdir, so this is fine
git add .
git commit -m "v$$(bump-my-version show current_version)"
git tag v$$(bump-my-version show current_version)

0 comments on commit 28c57d1

Please sign in to comment.