summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorThomas James Alexander Thurman <tthurman@src.gnome.org>2008-02-03 22:17:01 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2008-02-03 22:17:01 +0000
commit1177b1333894e0b664b891a2b11e24e006775edf (patch)
tree141795db732cdd6867eda100710e7a666c2683d1 /tools
parentea2d79fbfbd329c67219a011fb3aa69a0fd92917 (diff)
downloadmetacity-1177b1333894e0b664b891a2b11e24e006775edf.tar.gz
metacity-1177b1333894e0b664b891a2b11e24e006775edf.tar.bz2
2.21.8 release.
svn path=/trunk/; revision=3544
Diffstat (limited to 'tools')
-rw-r--r--tools/release-wrangler.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/release-wrangler.py b/tools/release-wrangler.py
index e756cf9..1c7585e 100644
--- a/tools/release-wrangler.py
+++ b/tools/release-wrangler.py
@@ -61,7 +61,10 @@ def check_we_are_up_to_date():
changed = []
for line in commands.getoutput('/usr/bin/svn status').split('\n'):
if line!='' and (line[0]=='C' or line[0]=='M'):
- changed.append(line[1:].lstrip())
+ if line.find('release-wrangler.py')==-1:
+ # we should be insensitive to changes in this script itself
+ # to avoid chicken-and-egg problems
+ changed.append(line[1:].lstrip())
if changed:
report_error('These files are out of date; I can\'t continue until you fix them: ' + \
@@ -322,7 +325,7 @@ def increment_version(version):
changelog_and_checkin('configure.in', 'Post-release bump to %(major)s.%(minor)s.%(micro_next)s.' % version)
def tag_the_release(version):
- version['ucname'] = name.upper()
+ version['ucname'] = version['name'].upper()
if os.system("svn cp -m release . svn+ssh://svn.gnome.org/svn/%(name)s/tags/%(ucname)s_%(major)s_%(minor)_%(micro)" % (version))!=0:
report_error("Could not tag; bailing.")