File tree Expand file tree Collapse file tree 3 files changed +335
-1
lines changed Expand file tree Collapse file tree 3 files changed +335
-1
lines changed Original file line number Diff line number Diff line change @@ -69,4 +69,10 @@ generate: generate-conformance generate-example generate-test format
6969
7070# Used in CI to verify that `just generate` doesn't produce a diff
7171checkgenerate : generate
72- test -z " $(git status --porcelain | tee /dev/stderr)"
72+ test -z " $(git status --porcelain | tee /dev/stderr)"
73+
74+ bump * args :
75+ uv run bump-my-version bump {{ args}}
76+ uv lock
77+ cd protoc-gen-connect-python && uv lock
78+ git commit -am " Bump version"
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ Issues = "https://github.com/connectrpc/connect-python/issues"
3838dev = [
3939 " asgiref==3.9.1" ,
4040 " brotli==1.1.0" ,
41+ " bump-my-version==1.2.4" ,
4142 " connect-python-example" ,
4243 " daphne==4.2.1" ,
4344 " httpx[http2]==0.28.1" ,
@@ -233,3 +234,19 @@ members = ["example", "noextras"]
233234[tool .uv .sources ]
234235connect-python = { workspace = true }
235236connect-python-example = { workspace = true }
237+
238+ [tool .bumpversion ]
239+ current_version = " 0.5.0"
240+ files = [
241+ { filename = " pyproject.toml" },
242+ { filename = " protoc-gen-connect-python/pyproject.toml" },
243+ ]
244+ parse = " (?P<major>\\ d+)\\ .(?P<minor>\\ d+)\\ .(?P<patch>\\ d+)"
245+ serialize = [" {major}.{minor}.{patch}" ]
246+ search = " version = \" {current_version}\" "
247+ replace = " version = \" {new_version}\" "
248+ regex = false
249+ tag = false
250+ allow_dirty = false
251+ ignore_missing_version = false
252+ commit = false
You can’t perform that action at this time.
0 commit comments