Compare commits

..
3 Commits
Author SHA1 Message Date
jt c1c1560b76 Merge branch 'main' into bugfix/pr-title-single-commit 2026-09-17 14:37:01 +00:00
jt 606d89ed29 Merge pull request 'fix: apply release prefix and ticket detection to single-commit PR titles' (#19) from bugfix/pr-title-single-commit into main
Publish to PyPI / Publish-to-PyPI (push) Failing after 14s
Reviewed-on: #19
2026-09-17 14:25:21 +00:00
Jonathan Teran 7bca4ba85c fix: apply release prefix and ticket detection to single-commit PR titles
The single-commit branch of the title generation logic used the raw
commit message verbatim, bypassing the release-branch prefix and
branch-ticket detection entirely. Both are now applied on top of the
commit message when there's only one commit.
2026-09-17 11:10:16 -03:00
2 changed files with 6 additions and 22 deletions
-14
View File
@@ -1,17 +1,3 @@
## v1.21.2 - 2026-09-18
- **bugfix**: agrego informacion de traceback para errores de GitFlow [[jteran](mailto:jteran@renatre.org.ar)] (8a4cf6e)
---
## v1.21.1 - 2026-09-17
- **bugfix**: apply release prefix and ticket detection to single-commit PR titles [[jteran](mailto:jteran@renatre.org.ar)] (e0200e3)
---
## v1.21.0 - 2026-09-17
- **feature**: downgrade python version for better compatibility [[jteran](mailto:jteran@renatre.org.ar)] (55172bd)
+6 -8
View File
@@ -1,12 +1,10 @@
#!/usr/bin/env python3
import traceback
from subprocess import SubprocessError
import typer
from git_flow import GitFlowError
from git_flow.command import base, branch, commit, init, merge, new, release, tag
import git_flow.command.base as base
from git_flow.command import init, new, commit, merge, tag, release, branch
REPOSITORY_TOKEN_PATH = ".repository-token"
LOCALE = "es_AR.UTF-8"
@@ -27,8 +25,8 @@ def main():
app()
print()
except GitFlowError as e:
base.io_error("".join(traceback.format_exception(e)), title="Git Flow: " + str(e))
except SubprocessError as e:
base.io_error(str(e), title="Comando")
except KeyboardInterrupt:
base.io_error(str(e), title="Git Flow")
except Exception as e:
base.io_error(str(e), title="Inesperado")
except KeyboardInterrupt as e:
base.io_error("Ejecución abortada")