@@ -211,41 +211,6 @@ def get_release_notes(session: Session) -> None:
211211 session .run ("python" , SCRIPTS_FOLDER / "get-release-notes.py" , * session .posargs , external = True )
212212
213213
214- @nox .session (python = False , tags = [RELEASE ])
215- def release (session : Session ) -> None :
216- """Run the release process using Commitizen.
217-
218- Requires uvx in PATH (from uv install). Requires Git. Assumes Conventional Commits.
219- Optionally accepts increment (major, minor, patch) after '--'.
220- """
221- session .log ("Running release process using Commitizen..." )
222- try :
223- session .run ("git" , "version" , success_codes = [0 ], external = True , silent = True )
224- except CommandFailed :
225- session .log ("Git command not found. Commitizen requires Git." )
226- session .skip ("Git not available." )
227-
228- session .log ("Checking Commitizen availability via uvx." )
229- session .run ("uvx" , "--from=commitizen" , "cz" , "version" , success_codes = [0 ])
230-
231- increment = session .posargs [0 ] if session .posargs else None
232- session .log (
233- "Bumping version and tagging release (increment: %s)." ,
234- increment if increment else "default" ,
235- )
236-
237- cz_bump_args = ["uvx" , "--from=commitizen" , "cz" , "bump" , "--changelog" ]
238-
239- if increment :
240- cz_bump_args .append (f"--increment={ increment } " )
241-
242- session .log ("Running cz bump with args: %s" , cz_bump_args )
243- session .run (* cz_bump_args , success_codes = [0 , 1 ], external = True )
244-
245- session .log ("Version bumped and tag created locally via Commitizen/uvx." )
246- session .log ("IMPORTANT: Push commits and tags to remote (`git push --follow-tags`) to trigger CD pipeline." )
247-
248-
249214@nox .session (python = False , name = "publish-python" , tags = [RELEASE ])
250215def publish_python (session : Session ) -> None :
251216 """Publish sdist and wheel packages to PyPI via uv publish.
0 commit comments