feat: enhance release automation with daily checks
This commit is contained in:
parent
6d36b5a1ff
commit
0989068ef1
1 changed files with 50 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue