Skip to content

Commit

Permalink
Release 4.1 (#112)
Browse files Browse the repository at this point in the history
* Django 4.2 support

* Update release script

* Update test release script

* Bump version: 4.0.0 → 4.1.0
  • Loading branch information
marksweb authored Jul 29, 2023
1 parent ea5ebab commit 795f05c
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 21 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/publish-to-live-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,17 @@ jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to pypi
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/django-classy-tags
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: '3.10'

- name: Install pypa/build
run: >-
Expand All @@ -33,7 +38,4 @@ jobs:
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
uses: pypa/gh-action-pypi-publish@release/v1
17 changes: 10 additions & 7 deletions .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,17 @@ jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to TestPyPI
runs-on: ubuntu-latest
environment:
name: test
url: https://test.pypi.org/p/django-classy-tags
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: '3.10'

- name: Install pypa/build
run: >-
Expand All @@ -32,9 +37,7 @@ jobs:
.
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
skip_existing: true
repository-url: https://test.pypi.org/legacy/
skip-existing: true
4 changes: 3 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ Changelog
unreleased
==========

4.0.0 2022-12-01
4.1.0 2023-07-29
================

* Django 4.2 support


4.0.0 2022-12-01
================
Expand Down
2 changes: 1 addition & 1 deletion classytags/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '4.0.0'
__version__ = '4.1.0'
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@
# built documents.
#
# The short X.Y version.
version = '4.0.0'
version = '4.1.0'
# The full version, including alpha/beta/rc tags.
release = '4.0.0'
release = '4.1.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 4.0.0
current_version = 4.1.0
commit = True
tag = False

Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Framework :: Django',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.0',
'Framework :: Django :: 4.1',
'Framework :: Django :: 4.2',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development',
Expand All @@ -35,7 +36,7 @@

setup(
name='django-classy-tags',
version='4.0.0',
version='4.1.0',
author='Jonas Obrist',
author_email='[email protected]',
maintainer='Django CMS Association and contributors',
Expand All @@ -46,7 +47,7 @@
long_description=long_description,
long_description_content_type='text/x-rst',
packages=find_packages(exclude=['tests']),
python_requires='>=3.7',
python_requires='>=3.8',
include_package_data=True,
zip_safe=False,
install_requires=REQUIREMENTS,
Expand Down

0 comments on commit 795f05c

Please sign in to comment.