mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Prepare for bumpr
This commit is contained in:
parent
e6e99ffbb9
commit
c61f6f402a
4 changed files with 35 additions and 8 deletions
30
bumpr.rc
Normal file
30
bumpr.rc
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
[bumpr]
|
||||
file = pelican/__init__.py
|
||||
vcs = git
|
||||
clean =
|
||||
python setup.py clean
|
||||
rm -rf *egg-info build dist
|
||||
tests = tox
|
||||
publish = python setup.py sdist register upload
|
||||
files = README.rst
|
||||
|
||||
[bump]
|
||||
unsuffix = true
|
||||
message = Bump version {version}
|
||||
|
||||
[prepare]
|
||||
part = patch
|
||||
suffix = dev
|
||||
message = Prepare version {version} for next development cycle
|
||||
|
||||
[changelog]
|
||||
file = docs/changelog.rst
|
||||
separator = =
|
||||
bump = {version} ({date:%Y-%m-%d})
|
||||
prepare = Next release
|
||||
|
||||
[readthedoc]
|
||||
url = http://docs.getpelican.com/{tag}
|
||||
|
||||
[commands]
|
||||
bump = sed -i "s/last_stable\s*=.*/last_stable = '{version}'/" docs/conf.py
|
||||
Loading…
Add table
Add a link
Reference in a new issue