diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-04-06 04:33:19 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-04-06 04:33:19 +0000 |
commit | 209c499db2e003e5c7506ca99138f23ea2fad999 (patch) | |
tree | c88a56704bf0275b9004a00164c8e564a87947a9 /release.py | |
parent | Releasing debian version 1.24.4-1. (diff) | |
download | mycli-209c499db2e003e5c7506ca99138f23ea2fad999.tar.xz mycli-209c499db2e003e5c7506ca99138f23ea2fad999.zip |
Merging upstream version 1.25.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-x | release.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -72,7 +72,7 @@ def upload_distribution_files(): def push_to_github(): - run_step('git', 'push', 'origin', 'master') + run_step('git', 'push', 'origin', 'main') def push_tags_to_github(): @@ -90,7 +90,6 @@ if __name__ == '__main__': subprocess.check_output = lambda x: x ver = version('mycli/__init__.py') - print('Releasing Version:', ver) parser = OptionParser() parser.add_option( @@ -107,6 +106,8 @@ if __name__ == '__main__': CONFIRM_STEPS = popts.confirm_steps DRY_RUN = popts.dry_run + print('Releasing Version:', ver) + if not click.confirm('Are you sure?', default=False): sys.exit(1) |