~bzr/ubuntu/natty/bzrtools/bzr-ppa

« back to all changes in this revision

Viewing changes to check-release.py

  • Committer: Jelmer Vernooij
  • Date: 2011-02-02 09:10:26 UTC
  • mfrom: (659.16.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 704.
  • Revision ID: jelmer@debian.org-20110202091026-hje1r4llvf6t0vxu
Tags: 2.3.1-1
 + Fixes compatibility with Python 2.7. LP: #708268
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
    sys.exit(1)
22
22
else:
23
23
    print "NEWS entry found"
24
 
final_name = '../bzrtools-release/bzrtools-%s.tar.gz' % bzrtools.__version__
25
 
if os.path.exists('../bzrtools.tar.gz'):
26
 
    print "Temp file exists already."
27
 
    sys.exit(1)
28
 
if os.path.exists(final_name):
29
 
    print "Final file exists already."
30
 
    sys.exit(1)
31
24
if call(['bzr', 'diff'], stdout=PIPE) != 0:
32
25
    print "Please commit before releasing"
33
26
    sys.exit(1)
34
 
retcode = call(['the-kraken', bzrtools.__version__])