Show More
@@ -6,6 +6,7 b' This should ONLY be run at real release time.' | |||
|
6 | 6 | from __future__ import print_function |
|
7 | 7 | |
|
8 | 8 | from toollib import * |
|
9 | from gh_api import post_download | |
|
9 | 10 | |
|
10 | 11 | # Get main ipython dir, this will raise if it doesn't pass some checks |
|
11 | 12 | ipdir = get_ipdir() |
@@ -53,6 +54,11 b" sh(sdists + ' upload')" | |||
|
53 | 54 | cd(distdir) |
|
54 | 55 | print( 'Uploading distribution files...') |
|
55 | 56 | |
|
57 | for fname in os.listdir('.'): | |
|
58 | print('uploading %s to GitHub' % fname) | |
|
59 | desc = "IPython %s source distribution" % version | |
|
60 | post_download("ipython/ipython", fname, description=desc) | |
|
61 | ||
|
56 | 62 | # Make target dir if it doesn't exist |
|
57 | 63 | sh('ssh %s "mkdir -p %s/release/%s" ' % (archive_user, archive_dir, version)) |
|
58 | 64 | sh('scp * %s' % release_site) |
General Comments 0
You need to be logged in to leave comments.
Login now