aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2009-03-04 01:49:53 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-03-04 01:49:53 +0800
commit8c1f851ea9a7e1e65504e4fda691398a2a750291 (patch)
tree966eef308ec64bbe12258b8c39d51bfdc2a1c8ec
parent57377c58370297195a71ec4dffc496ec2ce6fc17 (diff)
downloadgsoc2013-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-xrelease.py5
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))