File tree Expand file tree Collapse file tree 4 files changed +10
-2
lines changed
Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1+ [flake8]
2+ ignore = E501, W503
Original file line number Diff line number Diff line change @@ -65,3 +65,9 @@ upload:
6565.PHONY : bump
6666bump :
6767 $(EDITOR ) readability/__init__.py
68+ $(eval VERSION := $(shell grep "__version__" readability/__init__.py | cut -d'"' -f2) )
69+ # fix first occurrence of version in pyproject.toml
70+ sed -i ' 0,/version = ".*"/s//version = "$(VERSION)"/' pyproject.toml
71+ git commit -m " Bump version to $( VERSION) " pyproject.toml readability/__init__.py
72+ git tag $(VERSION )
73+ git push --tags
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " readability-lxml"
3- version = " 0.8.4"
3+ version = " 0.8.4.1 "
44description = " fast html to text parser (article readability tool) with python 3 support"
55authors = [" Yuri Baburov <burchik@gmail.com>" ]
66license = " Apache License 2.0"
Original file line number Diff line number Diff line change 1- __version__ = "0.8.4"
1+ __version__ = "0.8.4.1 "
22
33from .readability import Document
You can’t perform that action at this time.
0 commit comments