~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to release.py

  • Committer: Aaron Bentley
  • Date: 2007-12-22 02:01:03 UTC
  • Revision ID: aaron.bentley@utoronto.ca-20071222020103-ggjszok7n974e1l2
Update branches, multi-pull to new APIs, create trees

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
34
retcode = call(['bzr', 'export', '../bzrtools.tar.gz'])
38
35
if retcode != 0:
39
36
    sys.exit(1)
40
37
os.rename('../bzrtools.tar.gz', final_name)
41
38
print 'Created %s' % final_name
42
39
call(['gpg', '--detach-sign', final_name])
43
 
#print 'Uploading...'
44
 
#call(['scp', final_name, final_name + '.sig',
45
 
#      'panoramicfeedback.com:opensource/'])
 
40
print 'Uploading...'
 
41
call(['scp', final_name, final_name + '.sig',
 
42
      'panoramicfeedback.com:opensource/'])