From 883651cecbd7a8a87e7d03f85fe9a66fd4398701 Mon Sep 17 00:00:00 2001 From: Chris Sattinger Date: Wed, 6 Dec 2023 17:32:02 +0100 Subject: [PATCH] fix publish workflow --- .github/workflows/publish.yml | 8 ++++++++ ajax_select/__init__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 598bb76610..2cc7985966 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,12 +4,20 @@ on: release: types: [published] + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + jobs: publish-service-client-package: runs-on: ubuntu-latest permissions: contents: write steps: + - name: Checkout + uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: 3.11 - name: Build and publish to pypi uses: JRubics/poetry-publish@v1.17 with: diff --git a/ajax_select/__init__.py b/ajax_select/__init__.py index 9b43c457f5..7050a0fb65 100644 --- a/ajax_select/__init__.py +++ b/ajax_select/__init__.py @@ -1,5 +1,5 @@ """JQuery-Ajax Autocomplete fields for Django Forms.""" -__version__ = "2.2.0" +__version__ = "3.0.0" __author__ = "crucialfelix" __contact__ = "crucialfelix@gmail.com" __homepage__ = "https://github.com/crucialfelix/django-ajax-selects/" diff --git a/pyproject.toml b/pyproject.toml index 0ec8b84495..427dddc770 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "django-ajax-selects" -version = "2.2.0" +version = "3.0.0" description = "Edit ForeignKey, ManyToManyField and CharField in Django Admin using jQuery UI AutoComplete." authors = ["Chris Sattinger "] repository = "https://github.com/crucialfelix/django-ajax-selects"