Skip to content

Commit

Permalink
ci: Prepare release 3.1.0 (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun authored Dec 6, 2023
1 parent f3cb3ef commit 5177ff9
Show file tree
Hide file tree
Showing 4 changed files with 101 additions and 4 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/publish-to-live-pypi.yml
Original file line number Diff line number Diff line change
@@ -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
43 changes: 43 additions & 0 deletions .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
@@ -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
19 changes: 16 additions & 3 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
==================
Expand Down
2 changes: 1 addition & 1 deletion djangocms_style/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "3.0.0"
__version__ = "3.1.0"

0 comments on commit 5177ff9

Please # to comment.