From 73f22c7af1b364c6f0e9b510298dc85f8ee8055c Mon Sep 17 00:00:00 2001
From: Nico Schottelius <nico@bento.schottelius.org>
Date: Mon, 9 Sep 2013 11:46:29 +0200
Subject: [PATCH] ensure version string is updated before pypi release

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
---
 bin/build-helper | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bin/build-helper b/bin/build-helper
index 1d6070aa..b97528f1 100755
--- a/bin/build-helper
+++ b/bin/build-helper
@@ -245,6 +245,9 @@ eof
         # publish man, speeches, website
         make web-release-all
 
+        # Ensure that pypi release has the right version
+        "$0" version
+
         # Create and publish package for pypi
         make pypi-release