Skip to content

Commit c8d8011

Browse files
committed
Bump version to 0.8.4.1
1 parent 72318f1 commit c8d8011

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

.flake8

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[flake8]
2+
ignore = E501, W503

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,9 @@ upload:
6565
.PHONY: bump
6666
bump:
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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "readability-lxml"
3-
version = "0.8.4"
3+
version = "0.8.4.1"
44
description = "fast html to text parser (article readability tool) with python 3 support"
55
authors = ["Yuri Baburov <[email protected]>"]
66
license = "Apache License 2.0"

readability/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
__version__ = "0.8.4"
1+
__version__ = "0.8.4.1"
22

33
from .readability import Document

0 commit comments

Comments
 (0)