@@ -1042,15 +1042,15 @@ def _create_tag_and_release(
10421042 try :
10431043 run_command (["git" , "tag" , "-a" , tag_name , "-m" , release_notes ])
10441044 except subprocess .CalledProcessError as e :
1045- console .print (f"[red]✗[/red] Created tag { tag_name } : { e } " )
1045+ console .print (f"[red]✗[/red] Failed to create tag { tag_name } : { e } " )
10461046 sys .exit (1 )
10471047 console .print (f"[green]✓[/green] Created tag { tag_name } " )
10481048
10491049 with console .status (f"[cyan]Pushing tag { tag_name } ..." ):
10501050 try :
10511051 run_command (["git" , "push" , "origin" , tag_name ])
10521052 except subprocess .CalledProcessError as e :
1053- console .print (f"[red]✗[/red] Pushed tag { tag_name } : { e } " )
1053+ console .print (f"[red]✗[/red] Failed to push tag { tag_name } : { e } " )
10541054 sys .exit (1 )
10551055 console .print (f"[green]✓[/green] Pushed tag { tag_name } " )
10561056
@@ -1071,7 +1071,7 @@ def _create_tag_and_release(
10711071
10721072 run_command (gh_cmd )
10731073 except subprocess .CalledProcessError as e :
1074- console .print (f"[red]✗[/red] Created GitHub Release: { e } " )
1074+ console .print (f"[red]✗[/red] Failed to create GitHub Release: { e } " )
10751075 sys .exit (1 )
10761076
10771077 release_type = "prerelease" if is_prerelease else "release"
@@ -1524,7 +1524,7 @@ def _trigger_pypi_publish(tag_name: str, wait: bool = False) -> None:
15241524 ]
15251525 )
15261526 except subprocess .CalledProcessError as e :
1527- console .print (f"[red]✗[/red] Triggered PyPI publish workflow: { e } " )
1527+ console .print (f"[red]✗[/red] Failed to trigger PyPI publish workflow: { e } " )
15281528 sys .exit (1 )
15291529 console .print ("[green]✓[/green] Triggered PyPI publish workflow" )
15301530
@@ -1753,15 +1753,15 @@ def tag(dry_run: bool, no_edit: bool) -> None:
17531753 try :
17541754 run_command (["git" , "checkout" , "main" ])
17551755 except subprocess .CalledProcessError as e :
1756- console .print (f"[red]✗[/red] Checked out main branch: { e } " )
1756+ console .print (f"[red]✗[/red] Failed to check out main branch: { e } " )
17571757 sys .exit (1 )
17581758 console .print ("[green]✓[/green] On main branch" )
17591759
17601760 with console .status ("[cyan]Pulling latest changes..." ):
17611761 try :
17621762 run_command (["git" , "pull" ])
17631763 except subprocess .CalledProcessError as e :
1764- console .print (f"[red]✗[/red] Pulled latest changes: { e } " )
1764+ console .print (f"[red]✗[/red] Failed to pull latest changes: { e } " )
17651765 sys .exit (1 )
17661766 console .print ("[green]✓[/green] main branch up to date" )
17671767
0 commit comments