Add command to upload betas

This commit is contained in:
Kovid Goyal 2009-06-02 16:52:53 -07:00
parent 581838308a
commit cc04191f80
2 changed files with 3 additions and 2 deletions

View File

@ -53,7 +53,7 @@ if __name__ == '__main__':
tag_release, upload_demo, build_linux, build_windows, \ tag_release, upload_demo, build_linux, build_windows, \
build_osx, upload_installers, upload_user_manual, \ build_osx, upload_installers, upload_user_manual, \
upload_to_pypi, stage3, stage2, stage1, upload, \ upload_to_pypi, stage3, stage2, stage1, upload, \
upload_rss upload_rss, betas
entry_points['console_scripts'].append( entry_points['console_scripts'].append(
'calibre_postinstall = calibre.linux:post_install') 'calibre_postinstall = calibre.linux:post_install')
@ -212,6 +212,7 @@ if __name__ == '__main__':
'stage2' : stage2, 'stage2' : stage2,
'stage1' : stage1, 'stage1' : stage1,
'publish' : upload, 'publish' : upload,
'betas' : betas,
}, },
) )

View File

@ -710,7 +710,7 @@ class stage1(OptionlessCommand):
class betas(OptionlessCommand): class betas(OptionlessCommand):
description = 'Build an upload beta builds to the servers' description = 'Build an upload beta builds to the servers'
sub_commands = [ ('stage2', None) ] sub_commands = [ ('update', None), ('stage2', None) ]
def run(self): def run(self):
OptionlessCommand.run(self) OptionlessCommand.run(self)