File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 "
3838commit = true
3939tag = true
4040message = " 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 ]]
4843filename = " pygoroutine/__init__.py"
4944search = ' __version__ = "{current_version}"'
Original file line number Diff line number Diff line change 99# --- 1. Get the type of version bump ---
1010BUMP_TYPE=$1
1111
12+ # Check if a bump type is provided and is valid
1213if [[ " $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>"
You can’t perform that action at this time.
0 commit comments