Skip to content

Commit

Permalink
adding version
Browse files Browse the repository at this point in the history
  • Loading branch information
jkobject committed Nov 27, 2024
1 parent 350cc6c commit 35a13d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ release: ## Create a new tag for release.
@read -p "Version? (provide the next x.y.z semver) : " TAG
@echo "$${TAG}" > bengrn/VERSION
@sed -i 's/^version = .*/version = "'$${TAG}'"/' pyproject.toml
@sed -i 's/__version__ = .*/__version__ = "'$${TAG}'"/' bengrn/__init__.py
@$(ENV_PREFIX)gitchangelog > HISTORY.md
@git add bengrn/VERSION HISTORY.md pyproject.toml
@git commit -m "release: version $${TAG} 🚀"
Expand Down
2 changes: 2 additions & 0 deletions bengrn/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
__version__ = "1.2.2"

from .base import *

0 comments on commit 35a13d3

Please sign in to comment.