From 14611978263b7eeb8922da7b56f9eb39abe391da Mon Sep 17 00:00:00 2001 From: Justin Mayer Date: Sun, 14 Jun 2015 10:12:52 -0700 Subject: [PATCH] Match space with POSIX sed when bumping via bumpr `\s` will match a space via GNU sed but not the version of sed that ships with Mac OS X or BSD. --- bumpr.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumpr.rc b/bumpr.rc index 00078ae0..eebe4dd8 100644 --- a/bumpr.rc +++ b/bumpr.rc @@ -29,4 +29,4 @@ prepare = Next release url = http://docs.getpelican.com/{tag} [commands] -bump = sed -i "" "s/last_stable\s*=.*/last_stable = '{version}'/" docs/conf.py +bump = sed -i "" "s/last_stable[[:space:]]*=.*/last_stable = '{version}'/" docs/conf.py