diff --git a/tools/release b/tools/release index 39cebde..78aada1 100755 --- a/tools/release +++ b/tools/release @@ -52,10 +52,12 @@ sh('./setup.py register') sh('./setup.py sdist --formats=gztar,zip upload') cd(distdir) print( 'Uploading distribution files...') +# FIXME: this assumes the path *with the version number* exists on the server sh('scp * %s' % release_site) print( 'Uploading backup files...') cd(ipbackupdir) +# FIXME: this assumes the path *with the version number* exists on the server sh('scp `ls -1tr *tgz | tail -1` %s' % backup_site) print('Done!') diff --git a/tools/testupload b/tools/testupload index 499e652..dd95512 100755 --- a/tools/testupload +++ b/tools/testupload @@ -16,4 +16,6 @@ execfile(pjoin(ipdir, 'IPython','core','release.py')) testing_site = '%s/testing/%s' % (archive, version) cd(distdir) + +# FIXME: this assumes the path *with the version number* exists on the server sh('scp * %s' % testing_site)