Fix quoting error and added some more error checking.
2008-02-03 Thomas Thurman <tthurman@gnome.org> * tools/release-wrangler.py: Fix quoting error and added some more error checking. svn path=/trunk/; revision=3542
This commit is contained in:
parent
836a1f7b08
commit
f60624ac5b
@ -1,3 +1,8 @@
|
|||||||
|
2008-02-03 Thomas Thurman <tthurman@gnome.org>
|
||||||
|
|
||||||
|
* tools/release-wrangler.py: Fix quoting error and added some
|
||||||
|
more error checking.
|
||||||
|
|
||||||
2008-02-03 Thomas Thurman <tthurman@gnome.org>
|
2008-02-03 Thomas Thurman <tthurman@gnome.org>
|
||||||
|
|
||||||
* tools/release-wrangler.py: basic release script; needs work,
|
* tools/release-wrangler.py: basic release script; needs work,
|
||||||
|
@ -54,7 +54,8 @@ def changelog_and_checkin(filename, message):
|
|||||||
changelog.close()
|
changelog.close()
|
||||||
os.rename('ChangeLog.tmp', 'ChangeLog')
|
os.rename('ChangeLog.tmp', 'ChangeLog')
|
||||||
|
|
||||||
os.system('svn commit -m \\"%s\\"' % (message.replace('"','\\"')))
|
if os.system('svn commit -m "%s"' % (message.replace('"','\\"')))!=0:
|
||||||
|
report_error("Could not commit; bailing.")
|
||||||
|
|
||||||
def check_we_are_up_to_date():
|
def check_we_are_up_to_date():
|
||||||
changed = []
|
changed = []
|
||||||
@ -322,7 +323,8 @@ def increment_version(version):
|
|||||||
|
|
||||||
def tag_the_release(version):
|
def tag_the_release(version):
|
||||||
version['ucname'] = name.upper()
|
version['ucname'] = name.upper()
|
||||||
os.system("svn cp -m release . svn+ssh://svn.gnome.org/svn/%(name)s/tags/%(ucname)s_%(major)s_%(minor)_%(micro)" % (version))
|
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.")
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
get_up_to_date()
|
get_up_to_date()
|
||||||
|
Loading…
Reference in New Issue
Block a user