1
0
Fork 0
forked from github/pelican

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.
This commit is contained in:
Justin Mayer 2015-06-14 10:12:52 -07:00
commit 1461197826

View file

@ -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