Permalink
Browse files

update setup.py version to match release

and check for matching versions in debian/rules
  • Loading branch information...
1 parent 4494811 commit 6c9cf01befc2f12b4c724cd536b566f7bcee42aa @thepaul thepaul committed Oct 15, 2010
Showing with 10 additions and 1 deletion.
  1. +8 −0 check_ver.sh
  2. +1 −0 debian/rules
  3. +1 −1 setup.py
View
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+[ "$(dpkg-parsechangelog -c1 | awk '$1=="Version:" {print $2}')" \
+ = "$(python setup.py --version)" ] \
+|| {
+ echo "debian/changelog version does not match setup.py version" >&2
+ exit 1
+}
View
@@ -20,6 +20,7 @@ build-stamp:
dh_testdir
dh_installdirs
+ ./check_ver.sh
set -e; \
python setup.py install --root $(CURDIR)/debian/python-telephus
View
@@ -3,7 +3,7 @@
from distutils.core import setup
setup(
name='telephus',
- version='0.6.1',
+ version='0.7~beta3',
description='connection pooled, low-level client API for Cassandra in Twisted python',
author='brandon@faltering.com',
url='http://github.com/driftx/Telephus',

0 comments on commit 6c9cf01

Please sign in to comment.