mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
aefd75f69f
commit
253a93d324
@ -735,7 +735,7 @@ class MobiWriter(object):
|
||||
# The PalmDOC Header
|
||||
record0.write(pack('>HHIHHHH', self._compression, 0,
|
||||
self._text_length,
|
||||
self._text_nrecords, RECORD_SIZE, 0, 0)) # 0 - 15 (0x0 - 0xf)
|
||||
self._text_nrecords-1, RECORD_SIZE, 0, 0)) # 0 - 15 (0x0 - 0xf)
|
||||
uid = random.randint(0, 0xffffffff)
|
||||
title = str(metadata.title[0])
|
||||
# The MOBI Header
|
||||
|
@ -707,6 +707,15 @@ class stage1(OptionlessCommand):
|
||||
('upload_demo', None),
|
||||
]
|
||||
|
||||
class betas(OptionlessCommand):
|
||||
description = 'Build an upload beta builds to the servers'
|
||||
|
||||
sub_commands = [ ('stage2', None) ]
|
||||
|
||||
def run(self):
|
||||
OptionlessCommand.run(self)
|
||||
check_call('scp dist/* divok:'+BETAS, shell=True)
|
||||
|
||||
class upload(OptionlessCommand):
|
||||
description = 'Build and upload calibre to the servers'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user