Show More
@@ -52,12 +52,13 b" sh('./setup.py register')" | |||||
52 | sh('./setup.py sdist --formats=gztar,zip upload') |
|
52 | sh('./setup.py sdist --formats=gztar,zip upload') | |
53 | cd(distdir) |
|
53 | cd(distdir) | |
54 | print( 'Uploading distribution files...') |
|
54 | print( 'Uploading distribution files...') | |
55 | # FIXME: this assumes the path *with the version number* exists on the server |
|
55 | ||
|
56 | # Make target dir if it doesn't exist | |||
|
57 | sh('ssh %s "mkdir -p %s/release/%s" ' % (archive_user, archive_dir, version)) | |||
56 | sh('scp * %s' % release_site) |
|
58 | sh('scp * %s' % release_site) | |
57 |
|
59 | |||
58 | print( 'Uploading backup files...') |
|
60 | print( 'Uploading backup files...') | |
59 | cd(ipbackupdir) |
|
61 | cd(ipbackupdir) | |
60 | # FIXME: this assumes the path *with the version number* exists on the server |
|
|||
61 | sh('scp `ls -1tr *tgz | tail -1` %s' % backup_site) |
|
62 | sh('scp `ls -1tr *tgz | tail -1` %s' % backup_site) | |
62 |
|
63 | |||
63 | print('Done!') |
|
64 | print('Done!') |
General Comments 0
You need to be logged in to leave comments.
Login now