diff --git a/.github/workflows/publish-to-live-pypi.yml b/.github/workflows/publish-to-live-pypi.yml new file mode 100644 index 0000000..9152ae3 --- /dev/null +++ b/.github/workflows/publish-to-live-pypi.yml @@ -0,0 +1,41 @@ +name: Publish Python 🐍 distributions 📦 to pypi + +on: + release: + types: + - published + +jobs: + build-n-publish: + name: Build and publish Python 🐍 distributions 📦 to pypi + runs-on: ubuntu-latest + environment: + name: pypi + url: https://pypi.org/p/djangocms-style + permissions: + id-token: write + steps: + - uses: actions/checkout@v4 + - name: Set up Python 3.10 + uses: actions/setup-python@v4 + with: + python-version: '3.11' + + - name: Install pypa/build + run: >- + python -m + pip install + build + --user + - name: Build a binary wheel and a source tarball + run: >- + python -m + build + --sdist + --wheel + --outdir dist/ + . + + - name: Publish distribution 📦 to PyPI + if: startsWith(github.ref, 'refs/tags') + uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml new file mode 100644 index 0000000..d86704e --- /dev/null +++ b/.github/workflows/publish-to-test-pypi.yml @@ -0,0 +1,43 @@ +name: Publish Python 🐍 distributions 📦 to TestPyPI + +on: + push: + branches: + - master + +jobs: + build-n-publish: + name: Build and publish Python 🐍 distributions 📦 to TestPyPI + runs-on: ubuntu-latest + environment: + name: pypi + url: https://test.pypi.org/p/djangocms-style + permissions: + id-token: write + steps: + - uses: actions/checkout@v4 + - name: Set up Python 3.10 + uses: actions/setup-python@v4 + with: + python-version: '3.11' + + - name: Install pypa/build + run: >- + python -m + pip install + build + --user + - name: Build a binary wheel and a source tarball + run: >- + python -m + build + --sdist + --wheel + --outdir dist/ + . + + - name: Publish distribution 📦 to Test PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + repository-url: https://test.pypi.org/legacy/ + skip-existing: true diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 5e0aae6..eee9e2f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,11 +2,24 @@ Changelog ========= -Unreleased +3.1.0 (2023-12-06) ================== -* Removed (pinned) django-treebeard dependency - +## What's Changed +* Add GitHub Actions by @crydotsnake in https://github.com/django-cms/djangocms-style/pull/56 +* FEATURE: adjust setup metadata by @crydotsnake in https://github.com/django-cms/djangocms-style/pull/58 +* FEATURE: add github pr template by @crydotsnake in https://github.com/django-cms/djangocms-style/pull/57 +* Removed pinned django-treebeard by @tidenhub in https://github.com/django-cms/djangocms-style/pull/59 +* Feat: Django 4.2 support by @mogoh in https://github.com/django-cms/djangocms-style/pull/61 +* chore: Improve ruff config by @marksweb in https://github.com/django-cms/djangocms-style/pull/64 + +## New Contributors +* @crydotsnake made their first contribution in https://github.com/django-cms/djangocms-style/pull/56 +* @tidenhub made their first contribution in https://github.com/django-cms/djangocms-style/pull/59 +* @mogoh made their first contribution in https://github.com/django-cms/djangocms-style/pull/61 +* @marksweb made their first contribution in https://github.com/django-cms/djangocms-style/pull/64 + +**Full Changelog**: https://github.com/django-cms/djangocms-style/compare/3.0.0...3.1.0 3.0.0 (2020-09-02) ================== diff --git a/djangocms_style/__init__.py b/djangocms_style/__init__.py index 528787c..f5f41e5 100644 --- a/djangocms_style/__init__.py +++ b/djangocms_style/__init__.py @@ -1 +1 @@ -__version__ = "3.0.0" +__version__ = "3.1.0"