diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2009-03-04 01:49:53 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-03-04 01:49:53 +0800 |
commit | 8c1f851ea9a7e1e65504e4fda691398a2a750291 (patch) | |
tree | 966eef308ec64bbe12258b8c39d51bfdc2a1c8ec | |
parent | 57377c58370297195a71ec4dffc496ec2ce6fc17 (diff) | |
download | gsoc2013-empathy-8c1f851ea9a7e1e65504e4fda691398a2a750291.tar gsoc2013-empathy-8c1f851ea9a7e1e65504e4fda691398a2a750291.tar.gz gsoc2013-empathy-8c1f851ea9a7e1e65504e4fda691398a2a750291.tar.bz2 gsoc2013-empathy-8c1f851ea9a7e1e65504e4fda691398a2a750291.tar.lz gsoc2013-empathy-8c1f851ea9a7e1e65504e4fda691398a2a750291.tar.xz gsoc2013-empathy-8c1f851ea9a7e1e65504e4fda691398a2a750291.tar.zst gsoc2013-empathy-8c1f851ea9a7e1e65504e4fda691398a2a750291.zip |
Update release script to correctly create SVN tag.EMPATHY_2_25_92
From: Xavier Claessens <xclaesse@gmail.com>
svn path=/trunk/; revision=2571
-rwxr-xr-x | release.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/release.py b/release.py index bbebe031d..940072a89 100755 --- a/release.py +++ b/release.py @@ -247,8 +247,9 @@ class Project: new_tag = self.package_name.upper() + '_' +\ self.package_version.replace('.', '_') - url1 = self.exec_cmd('git config svn-remote.svn.url').strip() - url2 = url1[:url1.rfind('/')] + '/tags/' + new_tag + svn_base = self.exec_cmd('git config svn-remote.svn.url').strip() + url1 = svn_base + '/trunk' + url2 = svn_base + '/tags/' + new_tag self.exec_cmd('svn copy %s %s -m "Tagged for release %s."' % (url1, url2, self.package_version)) self.exec_cmd('git tag -m "Tagged for release %s." %s' % ( self.package_version, new_tag)) |