Skip to content

Commit 5177ff9

Browse files
authored
ci: Prepare release 3.1.0 (#65)
1 parent f3cb3ef commit 5177ff9

File tree

4 files changed

+101
-4
lines changed

4 files changed

+101
-4
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Publish Python 🐍 distributions 📦 to pypi
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
8+
jobs:
9+
build-n-publish:
10+
name: Build and publish Python 🐍 distributions 📦 to pypi
11+
runs-on: ubuntu-latest
12+
environment:
13+
name: pypi
14+
url: https://pypi.org/p/djangocms-style
15+
permissions:
16+
id-token: write
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Set up Python 3.10
20+
uses: actions/setup-python@v4
21+
with:
22+
python-version: '3.11'
23+
24+
- name: Install pypa/build
25+
run: >-
26+
python -m
27+
pip install
28+
build
29+
--user
30+
- name: Build a binary wheel and a source tarball
31+
run: >-
32+
python -m
33+
build
34+
--sdist
35+
--wheel
36+
--outdir dist/
37+
.
38+
39+
- name: Publish distribution 📦 to PyPI
40+
if: startsWith(github.ref, 'refs/tags')
41+
uses: pypa/gh-action-pypi-publish@release/v1
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Publish Python 🐍 distributions 📦 to TestPyPI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build-n-publish:
10+
name: Build and publish Python 🐍 distributions 📦 to TestPyPI
11+
runs-on: ubuntu-latest
12+
environment:
13+
name: pypi
14+
url: https://test.pypi.org/p/djangocms-style
15+
permissions:
16+
id-token: write
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Set up Python 3.10
20+
uses: actions/setup-python@v4
21+
with:
22+
python-version: '3.11'
23+
24+
- name: Install pypa/build
25+
run: >-
26+
python -m
27+
pip install
28+
build
29+
--user
30+
- name: Build a binary wheel and a source tarball
31+
run: >-
32+
python -m
33+
build
34+
--sdist
35+
--wheel
36+
--outdir dist/
37+
.
38+
39+
- name: Publish distribution 📦 to Test PyPI
40+
uses: pypa/gh-action-pypi-publish@release/v1
41+
with:
42+
repository-url: https://test.pypi.org/legacy/
43+
skip-existing: true

CHANGELOG.rst

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,24 @@
22
Changelog
33
=========
44

5-
Unreleased
5+
3.1.0 (2023-12-06)
66
==================
77

8-
* Removed (pinned) django-treebeard dependency
9-
8+
## What's Changed
9+
* Add GitHub Actions by @crydotsnake in https://github.com/django-cms/djangocms-style/pull/56
10+
* FEATURE: adjust setup metadata by @crydotsnake in https://github.com/django-cms/djangocms-style/pull/58
11+
* FEATURE: add github pr template by @crydotsnake in https://github.com/django-cms/djangocms-style/pull/57
12+
* Removed pinned django-treebeard by @tidenhub in https://github.com/django-cms/djangocms-style/pull/59
13+
* Feat: Django 4.2 support by @mogoh in https://github.com/django-cms/djangocms-style/pull/61
14+
* chore: Improve ruff config by @marksweb in https://github.com/django-cms/djangocms-style/pull/64
15+
16+
## New Contributors
17+
* @crydotsnake made their first contribution in https://github.com/django-cms/djangocms-style/pull/56
18+
* @tidenhub made their first contribution in https://github.com/django-cms/djangocms-style/pull/59
19+
* @mogoh made their first contribution in https://github.com/django-cms/djangocms-style/pull/61
20+
* @marksweb made their first contribution in https://github.com/django-cms/djangocms-style/pull/64
21+
22+
**Full Changelog**: https://github.com/django-cms/djangocms-style/compare/3.0.0...3.1.0
1023

1124
3.0.0 (2020-09-02)
1225
==================

djangocms_style/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "3.0.0"
1+
__version__ = "3.1.0"

0 commit comments

Comments
 (0)