From 6feafb178ccfd214a3fc223cbc51ab608b178176 Mon Sep 17 00:00:00 2001 From: Andrew-Chen-Wang Date: Thu, 25 Jun 2020 15:33:17 -0400 Subject: [PATCH] v2.2.2 * Dropped Python 2.7 and Django 1.11 support * Added support for the subqueries issue --- .github/workflows/publish.yml | 22 ++++++++++++++++++++++ cachalot/__init__.py | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..7491b50 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,22 @@ +name: Publish to PyPi + +on: + release: + types: + - created + +jobs: + publish-to-pypi: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Python 3.7 + uses: actions/setup-python@v1 + with: + python-version: 3.7 + + - name: Publish a Python distribution to PyPI + uses: pypa/gh-action-pypi-publish@master + with: + user: __token__ + password: ${{ secrets.pypi_password }} diff --git a/cachalot/__init__.py b/cachalot/__init__.py index 903b668..9d051bd 100644 --- a/cachalot/__init__.py +++ b/cachalot/__init__.py @@ -1,4 +1,4 @@ -VERSION = (2, 2, 0) +VERSION = (2, 2, 2) __version__ = '.'.join(map(str, VERSION)) default_app_config = 'cachalot.apps.CachalotConfig'