~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to release.py

  • Committer: Aaron Bentley
  • Date: 2011-01-26 00:55:38 UTC
  • Revision ID: aaron@aaronbentley.com-20110126005538-zly6t4gawmjsgl74
Tags: release-2.3.0
Update release.py to use The Kraken

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
if call(['bzr', 'diff'], stdout=PIPE) != 0:
32
32
    print "Please commit before releasing"
33
33
    sys.exit(1)
34
 
retcode = call(['bzr', 'tag', 'release-%s' % bzrtools.__version__])
35
 
if retcode != 0:
36
 
    sys.exit(1)
37
 
retcode = call(['bzr', 'export', '../bzrtools.tar.gz'])
38
 
if retcode != 0:
39
 
    sys.exit(1)
40
 
os.rename('../bzrtools.tar.gz', final_name)
41
 
print 'Created %s' % final_name
42
 
call(['gpg', '--detach-sign', final_name])
43
 
#print 'Uploading...'
44
 
#call(['scp', final_name, final_name + '.sig',
45
 
#      'panoramicfeedback.com:opensource/'])
 
34
retcode = call(['the-kraken', bzrtools.__version__])