diff --git a/tagbot/action/repo.py b/tagbot/action/repo.py index 9c3fd2ec..46260a39 100644 --- a/tagbot/action/repo.py +++ b/tagbot/action/repo.py @@ -1399,7 +1399,7 @@ def _manual_tag_commands(self, failures: list[tuple[str, str, str]]) -> list[str else: commands.append( f"git tag -a {v} {sha} -m '{v}' && git push origin {v} && " - f"gh release create {v} --generate-notes" + f"gh release create {v} --target {sha} --generate-notes" ) return commands