mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Add command to upload betas
This commit is contained in:
parent
581838308a
commit
cc04191f80
3
setup.py
3
setup.py
@ -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,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user