Skip to content

Commit

Permalink
Bump version 2.2.0 -> 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
miso-belica committed Oct 21, 2021
1 parent f7eaa0b commit 1bd1747
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 4 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/publish-to-pypi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Upload Python Package

on:
release:
types: [created]

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.x'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools build wheel twine
# https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python -m build
twine upload dist/*
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Changelog for jusText
=====================

3.0.0 (20XX-XX-XX)
3.0.0 (2021-10-21)
------------------
- *INCOMPATIBLE CHANGE:* Dropped support for Python 3.4 and below.
- *BUG FIX:* Don't join words separated only by ``<br>`` tag.
Expand Down
2 changes: 1 addition & 1 deletion justext/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
from .core import justext


__version__ = "2.2.0"
__version__ = "3.0.0"
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.2.0
current_version = 3.0.0
commit = true
tag = false

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

setup(
name="jusText",
version="2.2.0",
version="3.0.0",
description="Heuristic based boilerplate removal tool",
long_description=long_description,
author="Jan Pomikálek",
Expand Down

0 comments on commit 1bd1747

Please sign in to comment.