mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
...
This commit is contained in:
parent
6cc9894846
commit
6ebbe5852e
@ -67,14 +67,10 @@ class Publish(Command):
|
||||
|
||||
class PublishBetas(Command):
|
||||
|
||||
sub_commands = ['sdist', 'stage2',]
|
||||
sub_commands = ['stage2', 'sdist']
|
||||
|
||||
def pre_sub_commands(self, opts):
|
||||
require_clean_git()
|
||||
dist = self.a(self.j(self.d(self.SRC), 'dist'))
|
||||
if os.path.exists(dist):
|
||||
shutil.rmtree(dist)
|
||||
os.mkdir(dist)
|
||||
|
||||
def run(self, opts):
|
||||
dist = self.a(self.j(self.d(self.SRC), 'dist'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user