mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Modify sed command in bumpr.rc to support BSD
It appears that BSD sed, unlike Linux, has a requirement that you
provide an extension to the -i option. So, while Linux allows:
sed -i "sed-command"
... to edit in-place, the BSD variant needs to have:
sed -i "" "sed-command"
i.e., with an empty backup suffix.
This commit is contained in:
parent
5f23aab807
commit
2f57b86560
1 changed files with 1 additions and 1 deletions
2
bumpr.rc
2
bumpr.rc
|
|
@ -27,4 +27,4 @@ prepare = Next release
|
||||||
url = http://docs.getpelican.com/{tag}
|
url = http://docs.getpelican.com/{tag}
|
||||||
|
|
||||||
[commands]
|
[commands]
|
||||||
bump = sed -i "s/last_stable\s*=.*/last_stable = '{version}'/" docs/conf.py
|
bump = sed -i "" "s/last_stable\s*=.*/last_stable = '{version}'/" docs/conf.py
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue