aboutsummaryrefslogtreecommitdiffstats
path: root/release.py
diff options
context:
space:
mode:
Diffstat (limited to 'release.py')
-rwxr-xr-xrelease.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release.py b/release.py
index 0e144d8..7464871 100755
--- a/release.py
+++ b/release.py
@@ -66,7 +66,7 @@ def pending_changes():
def set_release_version(tag):
print "set libbe.version._VERSION = '%s'" % tag
- invoke(['sed', '-i', "s/^# *_VERSION *=.*/_VERSION = '%s'/" % tag,
+ invoke(['sed', '-i', "s/^[# ]*_VERSION *=.*/_VERSION = '%s'/" % tag,
os.path.join('libbe', 'version.py')])
def remove_makefile_libbe_version_dependencies(filename):