Put a dry-run warning at the end of dry-run commands for clarity
This commit is contained in:
parent
e6bfed2d27
commit
bed8a87e8e
@ -54,3 +54,5 @@ class Command(BaseCommand):
|
||||
self.stdout.write(self.style.SUCCESS(f'Applied {updates} tags to releases, {ignores} already satisfied'))
|
||||
else:
|
||||
self.stdout.write(self.style.SUCCESS(f'No new tags applied, {ignores} rule(s) already satisfied'))
|
||||
if options['dry_run'] and updates > 0:
|
||||
self.stdout.write(self.style.WARNING(f'This run was a dry-run only; no changes were made. Invoke without the --dry-run flag to commit'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user