diff --git a/plugins/action/git_publish.py b/plugins/action/git_publish.py index 66195dbb..13daadb7 100644 --- a/plugins/action/git_publish.py +++ b/plugins/action/git_publish.py @@ -176,7 +176,7 @@ def _commit(self: T) -> None: ) self._run_command(command=command) - def _tag(self): + def _tag(self: T) -> None: """Create a tag object.""" command_parts = list(self._base_command) message = self._task.args["tag"].get("message") @@ -276,9 +276,9 @@ def run( self._commit, ) if self._task.args.get("tag"): - steps += (self._tag,) + steps = steps + (self._tag,) - steps += ( + steps = steps + ( self._push, self._remove_repo, )