Skip to content

Commit a907445

Browse files
committed
ugh
1 parent 2e5e347 commit a907445

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,11 @@ Homepage = "https://github.com/antonvice/go-py"
3434
"Bug Tracker" = "https://github.com/antonvice/go-py/issues"
3535

3636
[tool.bumpversion]
37-
current_version = "0.1.7"
37+
current_version = "0.1.8"
3838
commit = true
3939
tag = true
4040
message = "chore: Release v{new_version}"
4141

42-
[[tool.bumpversion.files]]
43-
filename = "pyproject.toml"
44-
search = 'version = "{current_version}"'
45-
replace = 'version = "{new_version}"'
46-
4742
[[tool.bumpversion.files]]
4843
filename = "pygoroutine/__init__.py"
4944
search = '__version__ = "{current_version}"'

release.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ set -e
99
# --- 1. Get the type of version bump ---
1010
BUMP_TYPE=$1
1111

12+
# Check if a bump type is provided and is valid
1213
if [[ "$BUMP_TYPE" != "patch" && "$BUMP_TYPE" != "minor" && "$BUMP_TYPE" != "major" ]]; then
1314
echo "Error: Invalid or no bump type specified."
1415
echo "Usage: ./release.sh <patch|minor|major>"

0 commit comments

Comments
 (0)