~ubuntu-branches/debian/wheezy/calibre/wheezy

« back to all changes in this revision

Viewing changes to setup/publish.py

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2011-12-06 08:33:19 UTC
  • mfrom: (29.4.8 precise)
  • Revision ID: package-import@ubuntu.com-20111206083319-gyvw87vnxeisqktl
Tags: 0.8.28+dfsg-1
* debian/rules get-orig-source: Upstream switched to *.tar.xz, update
  accordingly.
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
       if os.path.exists(build):
38
38
           shutil.rmtree(build)
39
39
 
40
 
 
41
 
 
42
40
class Stage3(Command):
43
41
 
44
42
   description = 'Stage 3 of the publish process'
45
 
   sub_commands = ['upload_user_manual', 'upload_demo', 'sdist',
46
 
            'upload_to_sourceforge', 'upload_to_google_code',
47
 
            'tag_release', 'upload_to_server',
48
 
   ]
 
43
   sub_commands = ['upload_user_manual', 'upload_demo', 'sdist']
49
44
 
50
45
class Stage4(Command):
51
46
 
52
47
    description = 'Stage 4 of the publish process'
 
48
    sub_commands = ['upload_to_sourceforge', 'upload_to_google_code']
 
49
 
 
50
class Stage5(Command):
 
51
 
 
52
    description = 'Stage 5 of the publish process'
 
53
    sub_commands = ['tag_release', 'upload_to_server']
53
54
 
54
55
    def run(self, opts):
55
56
        subprocess.check_call('rm -rf build/* dist/*', shell=True)
57
58
class Publish(Command):
58
59
 
59
60
    description = 'Publish a new calibre release'
60
 
    sub_commands = ['stage1', 'stage2', 'stage3', 'stage4']
 
61
    sub_commands = ['stage1', 'stage2', 'stage3', 'stage4', 'stage5', ]
61
62
 
62
63
class Manual(Command):
63
64