feat: enhance release automation with daily checks

This commit is contained in:
David Soria Parra
2025-01-13 11:34:12 +00:00
parent 6d36b5a1ff
commit 0989068ef1
2 changed files with 51 additions and 17 deletions

View File

@@ -170,6 +170,8 @@ def main(directory: Path, git_hash: GitHash, dry_run: bool) -> int:
publish_package(path, pkg_type, version, dry_run)
if not dry_run:
click.echo(f"{name}@{version}")
else:
click.echo(f"🔍 Dry run: Would have published {name}@{version} if this was a real release")
return 0
except Exception as e:
return 1