diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f40aaa0..9807b23 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,25 +9,15 @@ jobs: publish: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - name: Install poetry + run: pipx install poetry + - uses: actions/setup-python@v5 with: - python-version: 3.9 - - uses: snok/install-poetry@v1.1.6 - with: - virtualenvs-in-project: true - - name: Load cached venv - id: cached-poetry-dependencies - uses: actions/cache@v2 - with: - path: .venv - key: venv-${{ runner.os }}-${{ hashFiles('pyproject.toml') }} - - name: Install dependencies - if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' - run: poetry install --no-interaction --no-root - - name: Install library - run: poetry install --no-interaction - - name: Publish + python-version: 3.12 + cache: poetry + - run: poetry install + - run: poetry publish --build env: POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }} - run: poetry publish --build + diff --git a/CHANGELOG.md b/CHANGELOG.md index 2289ea1..88e8d61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,13 @@ # Changelog +## 0.6.1 +**release date:** 2024-05-09 + +* Bump dependencies +* Replace pkg_resources with importlib + ## 0.6.0 -**release date:** TBA +**release date:** 2021-08-09 **WARNING:** Backward incompatible changes diff --git a/pyproject.toml b/pyproject.toml index 7dd73cb..8a946e4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "babelfish" -version = "0.6.0" +version = "0.6.1" description = "A module to work with countries and languages" authors = [ "Antoine Bertin ",