From 8392315e8c0e62b1883c97ecef9ebee5a6eac007 Mon Sep 17 00:00:00 2001 From: Danielle Madeley Date: Wed, 14 Dec 2022 10:57:40 +1100 Subject: [PATCH] release: v1.0.0-beta.0 --- .github/workflows/pypi.yml | 27 +++++++++++++++++++++++++++ pyproject.toml | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/pypi.yml diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml new file mode 100644 index 0000000..09f550e --- /dev/null +++ b/.github/workflows/pypi.yml @@ -0,0 +1,27 @@ +name: pypi + +on: + release: + types: + - created + +jobs: + release: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: "3.10" + + - name: Install poetry + run: curl -sSL https://install.python-poetry.org | python3 - + + # - name: Verify tag matches what's in pyproject.toml + # run: test "v$(poetry version --short)" = "$(git describe)" + + - name: Publish package + run: poetry publish --build -n + env: + POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }} \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 005ddc4..809c55b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "django-postgres-composite-types" -version = "0.4.2" +version = "1.0.0-beta.0" description = "Postgres composite types support for Django" authors = ["Danielle Madeley "] license = "BSD"