aboutsummaryrefslogtreecommitdiffstats
path: root/release.py
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2011-08-17 00:21:14 +0800
committerJavier Jardón <jjardon@gnome.org>2011-08-17 20:12:33 +0800
commit96174dd10b0fd5f43656d582d5ecb2b4877641a8 (patch)
tree31295229b5429d375b96fc7f48cc3d0a6ee9c95d /release.py
parent12b920d355e4a8be744cd820dcbf2354f7cd6d49 (diff)
downloadgsoc2013-empathy-96174dd10b0fd5f43656d582d5ecb2b4877641a8.tar
gsoc2013-empathy-96174dd10b0fd5f43656d582d5ecb2b4877641a8.tar.gz
gsoc2013-empathy-96174dd10b0fd5f43656d582d5ecb2b4877641a8.tar.bz2
gsoc2013-empathy-96174dd10b0fd5f43656d582d5ecb2b4877641a8.tar.lz
gsoc2013-empathy-96174dd10b0fd5f43656d582d5ecb2b4877641a8.tar.xz
gsoc2013-empathy-96174dd10b0fd5f43656d582d5ecb2b4877641a8.tar.zst
gsoc2013-empathy-96174dd10b0fd5f43656d582d5ecb2b4877641a8.zip
configure.ac: Generate xz tarballs with ustar format by default
Diffstat (limited to 'release.py')
-rwxr-xr-xrelease.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/release.py b/release.py
index 41b180105..1821aa32f 100755
--- a/release.py
+++ b/release.py
@@ -88,12 +88,9 @@ class Project:
def get_md5sums(self):
md5sums = ''
- cmd = 'md5sum %s-%s.tar.gz' % (self.package_name.lower(), self.package_version)
+ cmd = 'md5sum %s-%s.tar.xz' % (self.package_name.lower(), self.package_version)
md5sums += self.exec_cmd(cmd)
- cmd = 'md5sum %s-%s.tar.bz2' % (self.package_name.lower(), self.package_version)
- md5sums += self.exec_cmd(cmd).strip()
-
return md5sums
def get_bugzilla_info(self):
@@ -259,7 +256,7 @@ class Project:
def upload_tarball(self):
username = self._get_username()
- tarball = '%s-%s.tar.gz' % (self.package_name.lower(), self.package_version)
+ tarball = '%s-%s.tar.xz' % (self.package_name.lower(), self.package_version)
cmd = 'scp %s %s@%s:' % (tarball, username, upload_server)
self.exec_cmd(cmd)