summaryrefslogtreecommitdiffstats
path: root/release.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-04-06 04:33:16 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-04-06 04:33:16 +0000
commit4d168f7fc6e70d19be0229733836e319ec4911a4 (patch)
tree138881acfae4b0776c6f748282f8048a7f7223f1 /release.py
parentAdding upstream version 1.24.4. (diff)
downloadmycli-4d168f7fc6e70d19be0229733836e319ec4911a4.tar.xz
mycli-4d168f7fc6e70d19be0229733836e319ec4911a4.zip
Adding upstream version 1.25.0.upstream/1.25.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'release.py')
-rwxr-xr-xrelease.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/release.py b/release.py
index 3f18f03..62daa80 100755
--- a/release.py
+++ b/release.py
@@ -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)