From da1fb354802c6a379e929541d48f4aa3d7a9659d 2015-01-09 18:47:38 From: Min RK Date: 2015-01-09 18:47:38 Subject: [PATCH] add 'upload' arg to release script so it can be used as a dry-run --- diff --git a/tools/release b/tools/release index 098db17..ae6f13d 100755 --- a/tools/release +++ b/tools/release @@ -50,6 +50,10 @@ sh('mv ipython-*.tgz %s' % ipbackupdir) # Build release files sh('./build_release %s' % ipdir) +if 'upload' not in sys.argv: + print("`./release upload` to register and release") + sys.exit(0) + # Register with the Python Package Index (PyPI) print( 'Registering with PyPI...') cd(ipdir)