~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to release.py

  • Committer: Aaron Bentley
  • Date: 2006-11-23 18:06:43 UTC
  • Revision ID: abentley@panoramicfeedback.com-20061123180643-6ry3xqozdbn4cfhy
Update docs

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
if os.path.exists(final_name):
38
38
    print "Final file exists already."
39
39
    sys.exit(1)
40
 
if call(['bzr', 'diff']) != 0:
41
 
    print "Please commit before releasing"
42
 
    sys.exit(1)
43
40
retcode = call(['bzr', 'export', '../bzrtools.tar.gz'])
44
41
if retcode != 0:
45
42
    sys.exit(1)
49
46
print 'Uploading...'
50
47
call(['scp', final_name, final_name + '.sig', 
51
48
      'panoramicfeedback.com:opensource/'])
 
49
print "If you haven't committed, now would be a good time."