Skip to content

Commit

Permalink
v.0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
oriontvv committed Feb 2, 2022
1 parent 2ca6b0e commit be57cd6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
release:
name: Release
name: release
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -25,13 +25,7 @@ jobs:
run: echo "$HOME/.local/bin" >> $GITHUB_PATH

- name: Build project for distribution
run: poetry build

- name: Check Version
id: check-version
run: |
[[ "$(poetry version --short)" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] \
|| echo ::set-output name=prerelease::true
run: make build

- name: Create Release
uses: ncipollo/release-action@v1
Expand All @@ -44,4 +38,4 @@ jobs:
- name: Publish to PyPI
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
run: poetry publish
run: make publish
5 changes: 4 additions & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# 0.X.X (2022-XX-XX)
# 0.2.2 (2022-02-01)
* migrate to pyproject.toml
* add python3.10 support
* add mypy
* add flake8
* add poetry


# 0.2.0 (2020-12-26)
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ clean:
rm -rf build
rm -rf cover

build:
$(VENV)/bin/poetry build

publish:
$(VENV)/bin/poetry publish

doc:
make -C docs html
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyaspeller"
version = "0.2.0"
version = "0.2.2"
description = "Search tool typos in the text, files and websites."
authors = [
"Vassiliy Taranov <[email protected]>",
Expand Down

0 comments on commit be57cd6

Please sign in to comment.